GetItemCountfunction
Determines the number of items in the specified menu.
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 GetItemCount (BYVAL hMenu AS HMENU) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hMenu | A handle to the menu to be examined. |
Return value
If the function succeeds, the return value specifies the number of items in the menu.
If the function fails, the return value is -1. To get extended error information, call GetLastError.
Description
Determines the number of items in the specified menu.
Reference
- Documented in Windows/WIndows Controls/CMenu Class.md
- Topic: About Menus