diff options
| author | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2019-06-30 12:48:57 +0200 |
|---|---|---|
| committer | Jonas Kümmerlin <jonas@kuemmerlin.eu> | 2019-06-30 12:48:57 +0200 |
| commit | fe078af239f3b73651c32bb1cdb158dcab39ad5c (patch) | |
| tree | c855620ab6970e658ea662d2c36b81cb68f50992 /alf/alf.h | |
| parent | ecfb4b72fec0c25ef416038ef22db5d34d687ee4 (diff) | |
label reimplement
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; |
