summaryrefslogtreecommitdiff
path: root/wintable/select.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/select.h
parent903d8bf838bf2f6a1c887925798b05b68c5f2dad (diff)
Implemented some accessibility events. More TODOs.
Diffstat (limited to 'wintable/select.h')
-rw-r--r--wintable/select.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/wintable/select.h b/wintable/select.h
index 117dad5..bc7c0b1 100644
--- a/wintable/select.h
+++ b/wintable/select.h
@@ -99,6 +99,10 @@ noScroll:
if (InvalidateRect(t->hwnd, &r, TRUE) == 0)
panic("error queueing newly selected row for redraw in doselect()");
}
+
+ // TODO notify on the old row too?
+ NotifyWinEvent(EVENT_OBJECT_SELECTION, t->hwnd, OBJID_CLIENT, t->selectedRow);
+ // TODO send EVENT_OBJECT_STATECHANGED too?
}
// TODO make this needless