ProcessCommand

[This is preliminary documentation and subject to change.]

The ProcessCommand function processes the command returned by the context menu, which is returned in the GetContextMenu function.

ProcessCommand (
  WPARAM      wParam,
  LPARAM      lParam,
  HWND        hWndParent
);
 

Parameters

wParam
Specifies the identifier of the menu item. For more information, see WM_COMMAND.
lParam
This parameter should be NULL. For more information, see WM_COMMAND.
hWndParent
Handle to the parent window.

Return Values

The ProcessCommand function has no return values.

Remarks

Several command identifiers have been reserved for specific keystrokes. These include IDM_HOTKEY_INSERT(1024), IDM_HOTKEY_DELETE(1025), and IDM_HOTKEY_RETURN(1026).