Fitting persistent window to screen when screen size changes

Kenneth Porter <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
I'm experimenting with the persistence feature and realized I'm using 
this from Remote Desktop, where my remote display window is a different 
size than the one in my lab. I don't want to move the window to a 
position that's restored outside the reach of someone using a different 
display setup. So is there an easy method to catch that situation and 
make sure the position is within the current screen dimensions? And is 
there an event that detects a change in screen size that can be 
intercepted to move an off-screen window within the current display 
boundaries?


-- 
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/a4539447-dbd5-4034-906d-79c5b4ebc464%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.