my main GUI (-Caption +AlwaysOnTop +ToolWindow) is the parent of some named child GUIs. For all the context menus I want to use one GuiContextMenu function. But that function isn't triggered. Any hints are highly appreciated!
Other solution: I could use the WM_RBUTTONDOWN message to show the context menu. And determine the target GUI in the corresponding function and store its name in a global variable. But is there a way to determine the GUI in the label subroutine of the clicked menu item? A_Gui is empty. I want to avoid using global variables whenever possible.
Many thanks and greetings
Get help with using AutoHotkey and its commands and hotkeys
1 post • Page 1 of 1