I am trying to debug a strange problem with users who have LogMeIn installed . After a few days, some of my dialogs opened by my application may end off-screen. If I could reliably detect this, I could programmatically move the dialogs back to where they are visible again.
Note: this should work for multiple monitors and use the win32 API. However, if you know how to do this from .NET, I can possibly extrapolate from there ...
Update: For the curious, the bug mentioned above is related to wxWidgets. If you run the wxWidgets application, leave and launch the screen saver, then log in remotely using LogMeIn, then try to open a dialog box from your application, you will have problems if you use wxDisplay :: GetFromPoint (pos) or wxWindowBase :: Center () to put a dialog.
source
share