Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

dxGetProcessDpiAwareness Method

Identifies the DPI awareness mode of the current or specified process.

#Declaration

Delphi
function dxGetProcessDpiAwareness: TdxProcessDpiAwareness;

#Returns

Type
TdxProcessDpiAwareness

#Remarks

The first overloaded function variant returns the DPI awareness mode for the current running process while the second and third variants return the DPI awareness mode for a process whose handle is passed as the AProcess parameter.

Call only the first function variant if your application (the current process) is running under Microsoft Windows® 10, since the second and third variants do not distinguish the first (v1) and second (v2) per-monitor DPI-awareness versions, and return pdaPerMonitorDpiAware in both cases.

Refer to the TdxProcessDpiAwareness type description for details on all DPI awareness modes, including information on operating system versions that support each mode.

See Also