From 65d9985bdcaed63b52bfe8c35c61d8a4a43a8292 Mon Sep 17 00:00:00 2001 From: Jonas Kümmerlin Date: Tue, 28 Apr 2020 10:57:22 +0200 Subject: first try at checkbox The size calculation is really messy and the background stuff does not work with comctl v5. Probably need to go full owner-drawn, again. --- alf/alf.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'alf/alf.h') diff --git a/alf/alf.h b/alf/alf.h index d300342..037f478 100644 --- a/alf/alf.h +++ b/alf/alf.h @@ -408,6 +408,10 @@ ALF_NotebookRemoveFlag(HWND notebook, DWORD flag) { ALF_NotebookSetFlags(notebook, ALF_NotebookFlags(notebook) & ~flag); } +// checkbox +HWND +ALF_AddCheckbox(HWND parent, WORD id, int x, int y, const TCHAR *text); + #ifdef __cplusplus } // extern C #endif -- cgit v1.2.3