summaryrefslogtreecommitdiff
path: root/redo/table_windows.c
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-17 19:33:42 -0400
committerPietro Gagliardi <[email protected]>2014-08-17 19:33:42 -0400
commite966299fc44f8b063acbb0228b9876ad52e23fee (patch)
tree44061a7d9c44d202ca9697cc7f0fd68b7ab029ff /redo/table_windows.c
parentc75aee7de178b40185d1200a28e658f481fea051 (diff)
Improved Table checkbox simulation on Windows.
Diffstat (limited to 'redo/table_windows.c')
-rw-r--r--redo/table_windows.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/redo/table_windows.c b/redo/table_windows.c
index 106d159..e10611e 100644
--- a/redo/table_windows.c
+++ b/redo/table_windows.c
@@ -43,6 +43,7 @@ static LRESULT CALLBACK tableSubProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM
// and let the list view do its thing
return (*fv_DefSubclassProc)(hwnd, uMsg, wParam, lParam);
case WM_LBUTTONDOWN:
+ case WM_LBUTTONDBLCLK: // listviews have CS_DBLCICKS; check this to better mimic the behavior of a real checkbox
handle(hwnd, wParam, lParam, tablePushed, (void *) data);
// and let the list view do its thing
return (*fv_DefSubclassProc)(hwnd, uMsg, wParam, lParam);