diff options
Diffstat (limited to 'alf/alf.h')
| -rw-r--r-- | alf/alf.h | 17 |
1 files changed, 17 insertions, 0 deletions
@@ -36,6 +36,19 @@ typedef struct { // sends a ALF_WM_APPLYFONTS message to the widget with ALFWindowFonts* lparam #define ALF_SENDAPPLYFONTS 0x80 +// label style flags +#define ALF_LABEL_ALIGN_LEFT 0 +#define ALF_LABEL_ALIGN_LEFT_LIKE_EDIT 1 +#define ALF_LABEL_ALIGN_HCENTER 2 +#define ALF_LABEL_ALIGN_RIGHT 3 +#define ALF_LABEL_HALIGN_MASK 3 +#define ALF_LABEL_ALIGN_TOP 0 +#define ALF_LABEL_ALIGN_TOP_LIKE_EDIT 4 +#define ALF_LABEL_ALIGN_VCENTER 8 +#define ALF_LABEL_ALIGN_BOTTOM 12 +#define ALF_LABEL_VALIGN_MASK 12 + + // messages #define ALF_WM__BASE 0x2800 #define ALF_WM_QUERYSIZE (ALF_WM__BASE + 1) @@ -55,6 +68,10 @@ typedef struct { #define ALF_WM_APPLYFONTS (ALF_WM__BASE + 16) #define ALF_WM_PRETRANSLATEMSG (ALF_WM__BASE + 17) +#define ALF_WM_LBL_GETSTYLE (ALF_WM__BASE + 201) +#define ALF_WM_LBL_SETSTYLE (ALF_WM__BASE + 202) + + typedef struct { const TCHAR *className; UINT classStyle; |
