From e40fa1cd91cff58be6e7c91273789eb838ebe611 Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Wed, 29 Apr 2020 11:31:02 +0200 Subject: widget factory: move to tabbed interface --- alf/alflabel.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'alf/alflabel.cpp') 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); +} -- cgit v1.2.3