summaryrefslogtreecommitdiff
path: root/alf/alflabel.cpp
diff options
context:
space:
mode:
authorJonas Kümmerlin <jonas@kuemmerlin.eu>2020-04-29 11:31:02 +0200
committerJonas Kümmerlin <jonas@kuemmerlin.eu>2020-04-29 11:31:02 +0200
commite40fa1cd91cff58be6e7c91273789eb838ebe611 (patch)
tree478e8076407e66b50a4a323afd1cbe7ffd7d5978 /alf/alflabel.cpp
parentff2992cd89491957543667e91fa1fd4373c004d9 (diff)
widget factory: move to tabbed interface
Diffstat (limited to 'alf/alflabel.cpp')
-rw-r--r--alf/alflabel.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/alf/alflabel.cpp b/alf/alflabel.cpp
index 13c86ae..87d5baa 100644
--- a/alf/alflabel.cpp
+++ b/alf/alflabel.cpp
@@ -338,3 +338,15 @@ ALF_RegisterLabelClass(void)
_alf_labelClass = MAKEINTATOM(classatom);
}
+
+DWORD
+ALF_LabelStyle(HWND hwndLabel)
+{
+ return (DWORD)SendMessage(hwndLabel, ALF_WM_LBL_GETSTYLE, 0, 0);
+}
+
+void
+ALF_LabelSetStyle(HWND hwndLabel, DWORD style)
+{
+ SendMessage(hwndLabel, ALF_WM_LBL_SETSTYLE, 0, (LPARAM)style);
+}