网站首页  计算机词典

请输入您要查询的字词:

 

字词 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
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/23 22:37:26