Re: Fitting persistent window to screen when screen size changes

Kenneth Porter <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
On 5/4/2024 9:43 AM, Vadim Zeitlin wrote:
> This won't happen, the code restoring window geometry checks for this

Oh good. (Still reviewing that code to see what it does.) That looks 
like it handles when the window is created, such as on a subsequent run 
of the app. but what about if the app is already running when the 
resolution changes? I see an event for DPI changes, but some googling 
suggests it only works with Win10, and I fear I might have a Win7 box 
somewhere. All I really need is an event to tell me when the session 
changed hands. Does something like that exist?

-- 
Please read https://www.wxwidgets.org/support/mlhowto.htm before posting.
--- 
You received this message because you are subscribed to the Google Groups "wx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/wx-users/53fef24a-53a8-49a3-9b16-93af251b9052%40sewingwitch.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.