[ros-diffs] [weiden] 16404: properly handle clicks outside a checkbox

weiden at svn.reactos.com weiden at svn.reactos.com
Mon Jul 4 02:30:34 CEST 2005


properly handle clicks outside a checkbox
Modified: trunk/reactos/lib/aclui/checklist.c
  _____  

Modified: trunk/reactos/lib/aclui/checklist.c
--- trunk/reactos/lib/aclui/checklist.c	2005-07-04 00:06:52 UTC (rev
16403)
+++ trunk/reactos/lib/aclui/checklist.c	2005-07-04 00:30:23 UTC (rev
16404)
@@ -1593,7 +1593,7 @@

                         ChangeFocus = TRUE;
                     }
                     
-                    if (ChangeFocus && GetCapture() == NULL &&
+                    if (InCheckBox && ChangeFocus && GetCapture() ==
NULL &&
                         (uMsg == WM_LBUTTONDOWN || uMsg ==
WM_LBUTTONDBLCLK))
                     {
                         infoPtr->FocusedPushed = TRUE;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050704/4a5c50e5/attachment.html


More information about the Ros-diffs mailing list