Re: Fitting persistent window to screen when screen size changes

Vadim Zeitlin <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
On Fri, 3 May 2024 13:35:52 -0700 Kenneth Porter wrote:

KP> I'm experimenting with the persistence feature and realized I'm using 
KP> this from Remote Desktop, where my remote display window is a different 
KP> size than the one in my lab. I don't want to move the window to a 
KP> position that's restored outside the reach of someone using a different 
KP> display setup.

 This won't happen, the code restoring window geometry checks for this, see

https://github.com/wxWidgets/wxWidgets/blob/e02c65f45f1f6af57e37127ee243fa146f5a8e5e/include/wx/private/tlwgeom.h#L127-L140

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
              https://www.tt-solutions.com/
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EABECAB0WIQQx+vLQdOwioQqkxtoG6kHeT2wehgUCZjZltwAKCRAG6kHeT2we
hoGVAJ99Bg+MLWuwJ+baOr96S6n8OWB+xwCfUZedNPPPqmai+cjGqZ8WR8jNwAY=
=hOj0
-----END PGP SIGNATURE-----
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.