Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Handles selection notifications.
Syntax
HRESULT OnSelect(
DWORD dwSelectType
);
Parameters
dwSelectType
Type: DWORD
This parameter can be any of the following values.
MPOS_EXECUTE
Execute the selected menu item.
MPOS_FULLCANCEL
Cancel the entire menu.
MPOS_CANCELLEVEL
Cancel the current cascaded menu.
MPOS_SELECTLEFT
Select the item to the left of the current selection.
MPOS_SELECTRIGHT
Select the item to the right of the current selection.
MPOS_CHILDTRACKING
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
Requirement | Value |
---|---|
Minimum supported client | Windows XP with SP1 [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Target Platform | Windows |
Header | shobjidl_core.h (include Shobjidl.h) |