Re: dual monitor issue
A brief history on Delphi applications, they have a non-standard design where a hidden window is used for controlling the taskbar button state rather than being directly related to a window. This is done so that you only see one taskbar button regardless of which windows are shown within an application. This non-standard design originally caused problem with Windows Vista and steps were taken to bypass this design under Vista, however we've left this hidden window alone for previous versions of windows because it does have one trade off, it allows us to set a separate window caption from the main window. which is ideal for displaying the transfer information on the taskbar button and not the main window.
It took me awhile to setup an identical test environment but once I was able to do so reproducing this compatibility problem was fairly easy.
This issue would occur if the first monitor position was negative screen coordinates, FlashFXP was maximized, and the nVidia nView software was configured to "Prevent windows from opening off-screen". When nView repositioned the window it also changed the size and visibility of a window that is normally hidden and made it visible.
The solution was to detect when an outside application such as nView tries changing the window state and then to simply deny it.
|