From 7ba7222976b1260065d633855830ffd20e153bf0 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 22 Dec 2014 20:15:10 -0500 Subject: Mostly done with the implementation of checkboxes! --- wintable/new/main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'wintable/new/main.c') diff --git a/wintable/new/main.c b/wintable/new/main.c index 43e4391..56aee2f 100644 --- a/wintable/new/main.c +++ b/wintable/new/main.c @@ -32,6 +32,7 @@ // - WM_THEMECHANGED, etc. // - see if vertical centering is really what we want or if we just want to offset by a few pixels or so // - going right from column 0 to column 2 with the right arrow key deselects +// - make sure all error messages involving InvalidateRect() are consistent with regards to "redrawing" and "queueing for redraw" #define tableWindowClass L"gouitable" @@ -77,6 +78,9 @@ struct table { int checkboxHeight; BOOL checkboxMouseOverLast; LPARAM checkboxMouseOverLastPoint; + BOOL checkboxMouseDown; + intptr_t checkboxMouseDownRow; + intptr_t checkboxMouseDownColumn; }; #include "util.h" -- cgit v1.2.3