共用方式為


CWindow::HiliteMenuItem

Highlights or removes the highlight from a top-level menu item.

BOOL HiliteMenuItem(
   HMENU hMenu,
   UINT uHiliteItem,
   UINT uHilite 
) throw();

Remarks

See HiliteMenuItem in the Windows SDK.

Requirements

Header: atlwin.h

See Also

Reference

CWindow Class

Other Resources

CWindow Members