SHCMBM_SETSUBMENU (Compact 7)

3/12/2014

This message replaces an existing submenu with a new one.

Syntax

SHCMBM_SETSUBMENU
  wParam = wParam;
  lParam = (HMENU) hmenu;

Parameters

  • wParam
    Passed through to the button on the menu. It is processed by the application.
  • hmenu
    Address of an NMNEWMENU structure. The hMenu parameter is a handle to the New submenu.

Return Value

Returns the menu handle to the menu that was replaced by the menu specified by the lParam.

Requirements

Header

aygshell.h

See Also

Reference

AYGShell Messages