Help Center›AfxNova
CMenu.IsItemGrayedmethod
Returns TRUE if the specified menu item is grayed; FALSE otherwise. Usage example: CMenu.IsItemGrayed(hMenu, IDM_OPEN)
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.IsItemGrayed (BYVAL hMenu AS HMENU, BYVAL uItem AS DWORD, BYVAL fByPosition AS LONG = FALSE) AS BOOLEAN
Description
Returns TRUE if the specified menu item is grayed; FALSE otherwise. Usage example: CMenu.IsItemGrayed(hMenu, IDM_OPEN)
Reference
- Include file
CMenu.inc - Defined in AfxNova/CMenu.inc:337