summaryrefslogtreecommitdiff
path: root/wintable/checkboxes.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-02-17 12:52:50 -0500
committerPietro Gagliardi <[email protected]>2015-02-17 12:52:50 -0500
commit803e8b1fd6de1346306fe3194d8bbc2f613de017 (patch)
tree4220defb34613f5f9cdbc98c7543fdea5144c137 /wintable/checkboxes.h
parent903d8bf838bf2f6a1c887925798b05b68c5f2dad (diff)
Implemented some accessibility events. More TODOs.
Diffstat (limited to 'wintable/checkboxes.h')
-rw-r--r--wintable/checkboxes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/wintable/checkboxes.h b/wintable/checkboxes.h
index 75ad9f4..b44a0d0 100644
--- a/wintable/checkboxes.h
+++ b/wintable/checkboxes.h
@@ -226,6 +226,8 @@ HANDLER(checkboxMouseUpHandler)
// TODO redraw the whole cell?
if (InvalidateRect(t->hwnd, &r, TRUE) == 0)
panic("error redrawing Table checkbox after mouse up");
+ // TODO really only the row? no way to specify column too?
+ NotifyWinEvent(EVENT_OBJECT_STATECHANGE, t->hwnd, OBJID_CLIENT, rc.row);
*lResult = 0;
return TRUE;
wrongUp: