Hello,
I would like to ask if there is any way to avoid pause loop when we click on Menu in AutoIt GUI?
* without using _Timer_SetTimer.
[Edit 2021-02-14 20:45] Solved! Big thanks for @MrCreatoR, below solution:
#include <GuiMenu.au3>
; Create GUI.
$hGUI = GUICreate("Autoit GUI", 200, 100)
; Create menu and item.
Local $menu = GUICtrlCreateMenu("&Click here")
GUICtrlCreateMenuItem("none", $menu)
$hMenu = _GUICtrlMenu_GetMenu($hGUI)
_GUICtrlMenu_SetMenuStyle($hMenu, $MNS_MODELESS)
; Crate label to control progress.
Local