网站首页  词典首页

请输入您要查询的函数:

 

术语 getmenuitemcount
释义 GetMenuItemCount
语法:
int GetMenuItemCount( HMENU hMenu
);
GetMenuItemCount函数
该GetMenuItemCount函数确定在指定的菜单项的数目。
参数
hMenu
[in]菜单句柄进行审查。
返回值
如果函数成功,返回值指定的菜单项。
如果函数失败,返回值为-1。为了获得更多错误信息,调用GetLastError。
例如
有关示例,请参见示例的菜单项位图。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
参见
菜单,GetMenuItemID
==英文原文==GetMenuItemCount Function
The GetMenuItemCount function determines the number of items in the specified menu.
Syntax
int GetMenuItemCount( HMENU hMenu
);
Parameters
hMenu
[in] 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 .
Example
For an example, see Example of Menu-Item Bitmaps .
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
See Also
Menus , GetMenuItemID
==原始网址==http://msdn.microsoft.com/en-us/library/ms647978(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:17:38