Opened 16 years ago
Last modified 16 years ago
#536 closed Bug
ControlGetFocus() prevents double-clicks — at Initial Version
Reported by: | MarcoM | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | 3.2.12.0 | Severity: | None |
Keywords: | ControlGetFocus | Cc: |
Description
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.