Help Center
Help Center›AfxNova

CMenu.ToggleItemmethod

Toggles the checked state of a menu item. Usage example: CMenu.ToggleItem(hMenu, IDM_OPEN)

WindowsmethodCMenu.incundocumented
Not documented upstream. This symbol was found in the AfxNova source but appears in no documentation topic. The signature below is read directly from the code; any description comes from the source comments.

Syntax

PRIVATE FUNCTION CMenu.ToggleItem (BYVAL hMenu AS HMENU, BYVAL uItem AS DWORD, BYVAL fByPosition AS LONG = FALSE) AS LONG

Description

Toggles the checked state of a menu item. Usage example: CMenu.ToggleItem(hMenu, IDM_OPEN)

Reference

  • Include file CMenu.inc
  • Defined in AfxNova/CMenu.inc:286