Re[2]: What is the correct way to response to the wxEVT_DPI_CHANGED event?

Vadim Zeitlin <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
On Thu, 30 Mar 2023 17:51:50 -0700 (PDT) AsmWarrior wrote:

A> OK. So, it looks like the ResetMode() function is just for debug only? 

 No, but it's just almost completely unrelated to high DPI support. The
"modes" shown by the display sample are different video modes supported by
the display, but you typically don't care about those, and definitely never
change them (except for demonstration purposes, like this sample does).

A> I would suggest that a minimal sample code should be put in this document, 
A> so that people(like me) can understand quickly.

 It's not really clear what should such sample code demonstrate. As you
wrote, in most cases you don't need to explicitly handle the DPI change at
all, and when you do need to handle it, it means something relatively
complicated (and hence difficult to show in a sample) is going on.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/
signature.asc (application/pgp-signature, 196 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)

iEYEABECAAYFAmQmL5QACgkQBupB3k9sHobrpACgpRYuEQ/rV27IAwFo0DkM3XP9
thoAoJ2svdWpt9kaK7nm4SSPcqa6XHlK
=Ssuy
-----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.