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

AsmWarrior <[email protected]>
Newsgroups gmane.comp.lib.wxwindows.general
Message-ID <[email protected]>
On Friday, March 31, 2023 at 8:55:53 AM UTC+8 Vadim Zeitlin wrote:

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). 


OK, I see, thanks!
 


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. 


OK, let's keep the document unchanged right now. Thanks.

Asmwarrior

 

-- 
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/5a36fb96-2347-4f5a-8ac4-79fa8b32f7acn%40googlegroups.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.