General information
Title:
Repositioning a Window and Dual Monitors
The app that I'm working on has the ability to remember it's window position & will re-position itself upon startup, to its last position. All's well with that. But, I sometimes run the app on dual monitor systems. The main window behaves as it should & positions itself properly if it was left within the 2nd monitor. The problem comes in with top level windows that are called from the main app & are set to autocenter. They _ALWAYS_ autocenter in the first window.
Sysmetric(), AFAIK only returns information about the primary display.
I can't seem to come up with a good solution to handle this. Has anyone else tackled this one already?
Thanks much.
-Matt
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only