Re: Fitting persistent window to screen when screen size changes
Igor Korot <[email protected]>
| Newsgroups | gmane.comp.lib.wxwindows.general |
|---|---|
| Message-ID | <CA+FnnTztxK9zq64i85=EN6-paPby5CucEY8A14FE-+Ov7p4Vtw@mail.gmail.com> |
Hi, On Fri, May 3, 2024 at 3:38 PM Kenneth Porter <[email protected]> wrote: > > 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? Are you talking about the DPI change, screen rotation, changing the size of the screen from 1920xN to 1440XN for example? Thank yuo. > > > -- > 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. -- 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/CA%2BFnnTztxK9zq64i85%3DEN6-paPby5CucEY8A14FE-%2BOv7p4Vtw%40mail.gmail.com.