summaryrefslogtreecommitdiff
path: root/alf/alfcompat.h
diff options
context:
space:
mode:
authorJonas Kümmerlin <jonas@kuemmerlin.eu>2020-06-24 11:19:34 +0200
committerJonas Kümmerlin <jonas@kuemmerlin.eu>2020-06-24 11:19:34 +0200
commitcd9b72745abd06012777f130f1f19c4ae853489d (patch)
treec2bbf90ea7618d82faae560d42f268f62567168a /alf/alfcompat.h
parent02c1f4e9165084589941ce205defaf5f3f1ea90f (diff)
messagedlg: initial implementation
Diffstat (limited to 'alf/alfcompat.h')
-rw-r--r--alf/alfcompat.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/alf/alfcompat.h b/alf/alfcompat.h
index 8acdbc6..8f6b80f 100644
--- a/alf/alfcompat.h
+++ b/alf/alfcompat.h
@@ -86,6 +86,12 @@ typedef struct {
int cyBottomHeight;
} ALF_Compat_MARGINS;
+typedef enum {
+ ALF_Compat_DDC_DEFAULT,
+ ALF_Compat_DDC_DISABLE_ALL,
+ ALF_Compat_DDC_DISABLE_RESIZE,
+ ALF_Compat_DDC_DISABLE_CONTROL_RELAYOUT
+} ALF_Compat_DIALOG_DPI_CHANGE_BEHAVIORS;
#ifndef TMT_TRANSITIONDURATION
#define TMT_TRANSITIONDURATION 6000
@@ -141,6 +147,7 @@ extern HRESULT (WINAPI *ALF_Compat_LoadIconWithScaleDown)(HINSTANCE,PCWSTR,int,i
extern BOOL (WINAPI *ALF_Compat_GetMonitorInfoA)(HMONITOR,MONITORINFO *);
extern HMONITOR (WINAPI *ALF_Compat_MonitorFromPoint)(POINT,DWORD);
extern HMONITOR (WINAPI *ALF_Compat_MonitorFromWindow)(HWND,DWORD);
+extern BOOL (WINAPI *ALF_Compat_SetDialogDpiChangeBehavior)(HWND, ALF_Compat_DIALOG_DPI_CHANGE_BEHAVIORS, ALF_Compat_DIALOG_DPI_CHANGE_BEHAVIORS);
// compatibility bits