Help Center

GetSubmenusCountfunction

Retrieves the number of submenus of a menu.

Windowsfunctiondoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION GetSubmenusCount(BYVAL hMenu AS HMENU) AS LONG

Parameters

NameDescription
hMenuA handle to the menu.

Return value

The number of submenus.

Description

Retrieves the number of submenus of a menu.

Reference

  • Documented in Windows/WIndows Controls/CMenu Class.md
  • Topic: About Menus