summaryrefslogtreecommitdiff
path: root/alf/alflabel.cpp
diff options
context:
space:
mode:
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);
+}