GuiContextMenu function not triggered

Get help with using AutoHotkey and its commands and hotkeys
Posts: 115
Joined: 11 Oct 2014, 12:22

GuiContextMenu function not triggered

17 Jul 2017, 11:15


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

Return to “Ask For Help”

Who is online

Users browsing this forum: HomePlayer and 26 guests