Поделиться через


CMenu::SetMenuContextHelpId

Associates a context help ID with CMenu.

BOOL SetMenuContextHelpId(
   DWORD dwContextHelpId 
);

Параметры

  • dwContextHelpId
    Context help ID to associate with CMenu.

Возвращаемое значение

Nonzero if successful; otherwise 0

Заметки

All items in the menu share this identifier — it is not possible to attach a help context identifier to the individual menu items.

Пример

See the example for CMenu::InsertMenu.

Требования

Header: afxwin.h

См. также

Основные понятия

CMenu Class

CMenu Members

Hierarchy Chart

CMenu::GetMenuContextHelpId

SetMenuContextHelpId