From 38e7565c378a9da93d04f41ab166f5bdac09de32 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 17 Aug 2014 13:34:06 -0400 Subject: Added code to prepare a state image list of checkboxes for adding checkbox columns to Table on Windows. --- redo/winapi_windows.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'redo/winapi_windows.h') diff --git a/redo/winapi_windows.h b/redo/winapi_windows.h index 589fbec..c937f64 100644 --- a/redo/winapi_windows.h +++ b/redo/winapi_windows.h @@ -21,6 +21,8 @@ #include #include #include +#include +#include // global messages unique to everything enum { @@ -119,5 +121,13 @@ extern HBITMAP unscaledBitmap(void *, intptr_t, intptr_t); extern HIMAGELIST newImageList(int, int); extern void addImage(HIMAGELIST, HWND, HBITMAP, int, int, int, int); extern void applyImageList(HWND, UINT, WPARAM, HIMAGELIST); +enum { + checkboxStateChecked = 1 << 0, + checkboxStateHot = 1 << 1, + checkboxStatePushed = 1 << 2, + checkboxnStates = 1 << 3, +}; +extern HIMAGELIST checkboxImageList; +extern void makeCheckboxImageList(HWND); #endif -- cgit v1.2.3