DIALOG_DPI_CHANGE_BEHAVIORS class Null safety Enum

In Per Monitor v2 contexts, dialogs will automatically respond to DPI changes by resizing themselves and re-computing the positions of their child windows (here referred to as re-layouting). This enum works in conjunction with SetDialogDpiChangeBehavior in order to override the default DPI scaling behavior for dialogs.

Constructors

DIALOG_DPI_CHANGE_BEHAVIORS()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Constants

DDC_DEFAULT → const int
The default behavior of the dialog manager. In response to a DPI change, the dialog manager will re-layout each control, update the font on each control, resize the dialog, and update the dialog's own font.
0x0000
DDC_DISABLE_ALL → const int
Prevents the dialog manager from responding to WM_GETDPISCALEDSIZE and WM_DPICHANGED, disabling all default DPI scaling behavior.
0x0001
DDC_DISABLE_CONTROL_RELAYOUT → const int
Prevents the dialog manager from re-layouting all of the dialogue's immediate children HWNDs in response to a DPI change.
0x0004
DDC_DISABLE_RESIZE → const int
Prevents the dialog manager from resizing the dialog in response to a DPI change.
0x0002