GuiContextMenu function not triggered

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

GuiContextMenu function not triggered

17 Jul 2017, 11:15

Hello,

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
hotkeyguy

Return to “Ask For Help”

Who is online

Users browsing this forum: Brazolek123, malik_ajay5, Yahoo [Bot], zyd199012 and 44 guests