Opened 16 years ago
Last modified 16 years ago
#536 closed Bug
ControlGetFocus() prevents double-clicks — at Version 1
Reported by: | MarcoM | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | 3.2.12.0 | Severity: | None |
Keywords: | ControlGetFocus | Cc: |
Description (last modified by Jpm)
It seems that polling which control has the focus with ControlGetFocus() resets somehow the mouse click counter/timer...
Here is a code sample showing this:
While 1 $CurrentWin = WinGetHandle("[Active]") $CurrentControl = ControlGetFocus ($CurrentWin) Sleep(50) Wend
Double-clicks are not detected anymore when this code is running.
Note: See
TracTickets for help on using
tickets.