CMenu

CMenu(HCtrl,  
MenuName = "",
Sub = "")

Sets context menu for the control.

Dependencies

ShowMenu 1.2, Win 1.2

Parameters

HCtrlHandle of the control.
MenuNameName of the menu, optional.
SubSubroutine to be launched, optional.

Globals

CMenuHolds the menu definitions.

Remarks

Parameters and variables of this function are equal to those required by Showmenu.  The menu for the control is launched as:

ShowMenu(CMenu, %Hwnd%_menuName, %Hwnd%_sub)

About

ShowMenu(MenuDef,  
MenuName = "",
Sub = "",
Sep = "`n",
r = 0)
Show menu from the text string.
Set of window functions.
Close