Sent to a window when there is a change in the settings of a monitor that has a digitizer attached to it. This message contains information regarding the scaling of the display mode.
Desktop apps should be DPI aware. If your app is not DPI aware, screen coordinates contained in pointer messages and related structures might appear inaccurate due to DPI virtualization. DPI virtualization provides automatic scaling support to applications that are not DPI aware and is active by default (users can turn it off). For more information, see Writing High-DPI Win32 Applications.
#define WM_POINTERDEVICECHANGE 0X238
Contains a value from Pointer Device Change Constants.
Additional message-specific information.
If the application processes this message, it should return zero.
If the application does not process this message, it should call DefWindowProc.
|Minimum supported client
||Windows 8 [desktop apps only]
|Minimum supported server
||Windows Server 2012 [desktop apps only]