Modify ↓
Opened 9 years ago
Closed 4 years ago
#3148 closed Feature Request (Rejected)
Add new events to GUIGetMsg()
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Milestone: | Component: | AutoIt | |
Version: | Severity: | None | |
Keywords: | Cc: |
Description
Please add new event to GUIGetMsg() :
$GUI_EVENT_PRIMARYDOUBLECLICK: primary mouse button double click.
Attachments (0)
Change History (4)
comment:1 Changed 9 years ago by Melba23
comment:2 Changed 9 years ago by anonymous
cannot be easily provided by another means? You mean as simple as using $GUI_EVENT_PRIMARYDOUBLECLICK event?
I guess something like this:
While 1 $nMsg = GUIGetMsg() Switch $nMsg Case GUI_EVENT_PRIMARYDOUBLECLICK $handleOfObject = GUIGetCursorInfo($hGUI) if (Not @error) Then Switch $handleOfObject[4] Case $Tab03ListView01 $aIndex = _GUICtrlListView_GetSelectedIndices($Tab03ListView01, True) If IsArray($aIndex) And ($aIndex[0] > 0) Then $iIndex_Selected = $aIndex[1] $sPath = _GUICtrlListView_GetItemText($Tab03ListView01, $iIndex_Selected, 2) ShellExecute($sPath) EndIf Case $Tab03Pic01 ... EndSwitch Case ... EndSwitch WEnd
comment:3 Changed 9 years ago by Melba23
That can be done just as easily via a message handler.
M23
comment:4 Changed 4 years ago by Jpm
- Resolution set to Rejected
- Status changed from new to closed
as suggest by Melba23 we close it.
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
Note: See
TracTickets for help on using
tickets.
Please provide an example where this functionality would be useful and it cannot be easily provided by another means.
M23