GetDialogControlDpiChangeBehavior function (winuser.h)
Retrieves and per-monitor DPI scaling behavior overrides of a child window in a dialog.
Syntax
DIALOG_CONTROL_DPI_CHANGE_BEHAVIORS GetDialogControlDpiChangeBehavior(
HWND hWnd
);
Parameters
hWnd
The handle for the window to examine.
Return value
The flags set on the given window. If passed an invalid handle, this function will return zero, and set its last error to ERROR_INVALID_HANDLE.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1703 [desktop apps only] |
Minimum supported server | Windows Server 2016 [desktop apps only] |
Target Platform | Windows |
Header | winuser.h |
Library | User32.lib |
DLL | User32.dll |