Re[2]: Fitting persistent window to screen when screen size changes

Vadim Zeitlin <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
On Tue, 7 May 2024 21:46:30 -0700 Kenneth Porter wrote:

KP> I fleshed out a wxEvent subclass that tells me when Remote Desktop 
KP> connects and disconnects. I'm not entirely happy with my object names so 
KP> I'm open to suggestions. I can use this to dynamically change my window 
KP> sizes.
KP> 
KP> https://github.com/SpareSimian/wxRemoteDesktopEvents
KP> 
KP> When I disconnect from my RD session and then reconnect, I see this in 
KP> the debugger output:
KP> 
KP> OnSessionChange({type=SESSION_LOCK,id=9})
KP> OnSessionChange({type=REMOTE_DISCONNECT,id=9})
KP> OnSessionChange({type=REMOTE_CONNECT,id=9})
KP> OnSessionChange({type=SESSION_UNLOCK,id=9})

 Sorry, I'm still not sure why do you need these events in the first place:
don't you get the usual display size/resolution change events?

 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+vLQdOwioQqkxtoG6kHeT2wehgUCZjvYBQAKCRAG6kHeT2we
hh6mAKCJli1zUycNiSAHKZhWZD0ISZsb6QCgjxI1klUfnQp2CfIroSEfY9XE5pA=
=+foX
-----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.