Méthode | Description | |
---|---|---|
ContextMenuClass ( ) : System | ||
PopupMenu ( int X, int Y, int hWndParent ) : void |
Popup the context menu at the given location
|
|
SetHook ( object hook ) : void |
Instantiate the underlying ToolbarMenu and set the hook object to be passed into the OnCreate event of each command item.
|
Méthode | Description | |
---|---|---|
AddItem ( System.Guid itemGuid, int subtype ) : void |
Add a command item to the command bar by the Guid and a subtype index.
|
|
AddItem ( |
Add a command item to the command bar by a type and a subtype index.
|
|
AddItem ( UID itemUID ) : void |
Add a command item to the command bar by an Unique Identifier Object (UID).
|
|
AddItem ( string itemID, int subtype ) : void |
Add a command item to the command bar by an identifier string and a subtype index
|
|
BeginGroup ( ) : void |
Adds a separator bar on the command bar to begin a group.
|
public PopupMenu ( int X, int Y, int hWndParent ) : void | ||
X | int | X coordinate where to popup the menu |
Y | int | Y coordinate where to popup the menu |
hWndParent | int | Handle to the parent window |
Résultat | void |