IMenuPopup::OnSelect method
Handles selection notifications.
Syntax
HRESULT OnSelect( DWORD dwSelectType );
Parameters
- dwSelectType
-
Type: DWORD
This parameter can be any of the following values.
-
Execute the selected menu item.
-
Cancel the entire menu.
-
Cancel the current cascaded menu.
-
Select the item to the left of the current selection.
-
Select the item to the right of the current selection.
-
The child of the current selection receives a tracking selection. In other words, the mouse moves over the child of the current selection.
Return value
Type: HRESULT
Always returns S_OK.
Requirements
|
Minimum supported client |
Windows XP with SP1 [desktop apps only] |
|---|---|
|
Minimum supported server |
Windows Server 2003 [desktop apps only] |
|
Header |
|
|
IDL |
|
Show: