Information générale
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement