I've just dealt with a support query for one of our applications. The user said after a number of uses the application window wouldn't appear on the desktop when started, but the taskbar did show the application tab. Clicking the application tab didn't have any effect.
I asked the user to send over the config file for the application to see if that would shed any light on the problem. Sure enough when I examined the file the problem was obvious, the application window X & Y positions were both set at -32000.
When the application saves the config data, it records the current window position using GadgetX() and GadgetY(). There is no way of setting these positions to -32000 by dragging the window around the desktop, it's impossible.
The application does have a status bar, could this be related to the status bar handle bug?
Anyone else experienced this?
I asked the user to send over the config file for the application to see if that would shed any light on the problem. Sure enough when I examined the file the problem was obvious, the application window X & Y positions were both set at -32000.
When the application saves the config data, it records the current window position using GadgetX() and GadgetY(). There is no way of setting these positions to -32000 by dragging the window around the desktop, it's impossible.
The application does have a status bar, could this be related to the status bar handle bug?
Anyone else experienced this?