SetMenuContextHelpIdSetMenuContextHelpId*
*Contents  *Index  *Topic Contents
*Previous Topic: ScreenSaverProc
*Next Topic: SetWindowContextHelpId

SetMenuContextHelpId

Associates a Help context identifier with a menu.

Syntax


BOOL SetMenuContextHelpId(
    HMENU hmenu,            
    DWORD dwContextHelpId   
);

Parameters


hmenu
Handle to the menu with which to associate the Help context identifier.
dwContextHelpId
Help context identifier.

Return Values


Returns nonzero if successful, or zero otherwise.

To get extended error information, call GetLastError.

Remarks


All items in the menu share this identifier. Help context identifiers can't be attached to individual menu items.

See Also


GetMenuContextHelpId


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.