Help Center
Help Center›AfxNova

CMenu.IsItemEnabledmethod

Returns TRUE if the specified menu item is enabled; FALSE otherwise. Usage example: CMenu.IsItemEnabled(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.IsItemEnabled (BYVAL hMenu AS HMENU, BYVAL uItem AS DWORD, BYVAL fByPosition AS LONG = FALSE) AS BOOLEAN

Description

Returns TRUE if the specified menu item is enabled; FALSE otherwise. Usage example: CMenu.IsItemEnabled(hMenu, IDM_OPEN)

Reference

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