Help Center

AfxIsMenuItemPopupfunction

Returns TRUE if the specified menu item is a submenu; FALSE otherwise.

Windowsfunctiondocumented

Syntax

FUNCTION AfxIsMenuItemPopup (BYVAL hMenu AS HMENU, BYVAL uItem AS DWORD, BYVAL fByPosition AS LONG = FALSE) AS BOOLEAN

Parameters

NameDescription
hMenuHandle to the menu that contains the menu item.
uItemThe identifier or position of the menu item to get information about. The meaning of this parameter depends on the value of fByPosition.
fByPositionThe meaning of uItem. If this parameter is FALSE, uItem is a menu item identifier. Otherwise, it is a menu item position.

Description

Returns TRUE if the specified menu item is a submenu; FALSE otherwise.

Reference

  • Defined in AfxNova/AfxMenu.inc:178
  • Documented in Windows/Windows GUI/Menu Procedures.md
  • Topic: About Menus