| 字词 | getmenuitemid |
| 释义 | GetMenuItemID 语法: UINT GetMenuItemID( HMENU hMenu, int nPos ); GetMenuItemID函数 该GetMenuItemID函数检索在菜单中指定位置位于一个菜单项菜单项的标识符。 参数 hMenu [in]句柄菜单,其中包含该项目的标识符是要检索。 npos返回 [in]指定的从零开始的菜单项的标识,是要检索的相对位置。 返回值 返回值是指定的菜单项的标识符。如果该菜单项标识符为NULL或如果指定的项目打开子菜单,返回值是-1。 例如 举例说,看到一个剪贴板查看示例。 功能信息 最低DLL版本 user32.dll 在Winuser.h中HeaderDeclared,头文件:winuser.h import libraryUser32.lib 最低操作系统Windows 95,Windows NT 3.1 参见 菜单,GetMenuItemCount ==英文原文==GetMenuItemID Function The GetMenuItemID function retrieves the menu item identifier of a menu item located at the specified position in a menu. Syntax UINT GetMenuItemID( HMENU hMenu, int nPos ); Parameters hMenu [in] Handle to the menu that contains the item whose identifier is to be retrieved. nPos [in] Specifies the zero-based relative position of the menu item whose identifier is to be retrieved. Return Value The return value is the identifier of the specified menu item. If the menu item identifier is NULL or if the specified item opens a submenu, the return value is -1. Example For an example, see Example of a Clipboard Viewer . 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 , GetMenuItemCount ==原始网址==http://msdn.microsoft.com/en-us/library/ms647979(VS.85).aspx\n |
| 随便看 |
|
计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。