diff options
Diffstat (limited to 'wintable/select.h')
| -rw-r--r-- | wintable/select.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/wintable/select.h b/wintable/select.h index 0539e52..117dad5 100644 --- a/wintable/select.h +++ b/wintable/select.h @@ -109,6 +109,10 @@ HANDLER(mouseDownSelectHandler) { struct rowcol rc; + // TODO separate this from here + // TODO other mouse buttons? + // don't check SetFocus()'s error (http://stackoverflow.com/questions/24073695/winapi-can-setfocus-return-null-without-an-error-because-thats-what-im-see) + SetFocus(t->hwnd); rc = lParamToRowColumn(t, lParam); // don't check if lParamToRowColumn() returned row -1 or column -1; we want deselection behavior doselect(t, rc.row, rc.column); |
