diff options
Diffstat (limited to 'alf/alf.h')
| -rw-r--r-- | alf/alf.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -22,6 +22,7 @@ typedef struct { LRESULT (*message)(void * /*closure*/, HWND, UINT, WPARAM, LPARAM); LRESULT (*command)(void * /*closure*/, HWND /*window*/, WORD /*notificationcode*/, WORD /*sourceid*/, HWND /*control*/); LRESULT (*notify)(void * /*closure*/, HWND /*window*/, WPARAM /*sourceid*/, NMHDR *); + BOOL (*pretranslatemessage)(void * /*closure*/, HWND /*window*/, MSG * /*message*/); } ALFWindowVTable; // layout flags @@ -53,6 +54,7 @@ typedef struct { #define ALF_WM_SETLAYOUTPARAMS (ALF_WM__BASE + 14) #define ALF_WM_GETWIDGETATPOS (ALF_WM__BASE + 15) #define ALF_WM_APPLYFONTS (ALF_WM__BASE + 16) +#define ALF_WM_PRETRANSLATEMSG (ALF_WM__BASE + 17) typedef struct { const TCHAR *className; @@ -102,6 +104,9 @@ ALF_DestroyWindow(HWND win); ALFAPP ALF_ApplicationFromWindow(HWND hwnd); +BOOL +ALF_PreTranslateMessage(HWND hwnd, MSG *message); + int ALF_CentipointsToPixels(HWND win, int cptValue); |
