[英]Screen resolution change notification message?
I have a WTL app running and would like to know when the screen resolution has changed. 我有一个运行的WTL应用程序,想知道屏幕分辨率何时发生变化。 The most likely candidate would appear to be
SPI_SETWORKAREA
sent via the WM_SETTINGCHANGE
message but I wondered if this is the correct message to use. 最可能的候选者似乎是通过
WM_SETTINGCHANGE
消息发送的SPI_SETWORKAREA
但我想知道这是否是正确的消息使用。 This has to work on XP and Windows 7. 这必须适用于XP和Windows 7。
WM_DISPLAYCHANGE是更好的鼠标陷阱。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.