SHCMBM_SETSUBMENU (Windows CE 5.0)

Send Feedback

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.

**Note   **For Windows Mobile, the wParam parameter is reserved for future use and must be set to zero.

  • hmenu
    Address of an NMNEWMENU structure. The hMenu parameter is a handle to the New submenu.

Return Values

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

Requirements

Pocket PC: Pocket PC 2000 and later
OS Versions: Windows CE 3.0 and later
Header: aygshell.h

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.