GetDialogControlDpiChangeBehavior function

Retrieves and per-monitor DPI scaling behavior overrides of a child window in a dialog.

Syntax


DIALOG_CONTROL_DPI_CHANGE_BEHAVIORS WINAPI GetDialogControlDpiChangeBehavior(
   HWDN 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

Minimum supported client

Windows 10, version 1703 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

Winuser.h

Library

User32.lib

DLL

User32.dll

See also

SetDialogControlDpiChangeBehavior
DIALOG_CONTROL_DPI_CHANGE_BEHAVIORS

 

 

Show: