| 字词 | createmenu |
| 释义 | CreateMenu 语法: HMENU CreateMenu(VOID); Return Value If the function succeeds, the return value is a handle to the newly created menu. If the function fails, the return value is NULL. To get extended error information, call GetLastError . Remarks Resources associated with a menu that is assigned to a window are freed automatically. If the menu is not assigned to a window, an application must free system resources associated with the menu before closing. An application frees menu resources by calling the DestroyMenu function. Windows 95/98/Me: The system can support a maximum of 16,364 menu handles. Function Information Minimum DLL Versionuser32.dll HeaderDeclared in Winuser.h, include Windows.h Import libraryUser32.lib Minimum operating systemsWindows 95, Windows NT 3.1 UnicodeImplemented as Unicode version. See Also Menus , AppendMenu , CreatePopupMenu , DestroyMenu , InsertMenu , SetMenu , InsertMenuItem CreateMenu函数 该CreateMenu函数创建一个菜单。菜单最初是空的,但它可以与使用InsertMenuItem,AppendMenu菜单项填补,InsertMenu功能。 ==英文原文==CreateMenu Function The CreateMenu function creates a menu. The menu is initially empty, but it can be filled with menu items by using the InsertMenuItem , AppendMenu , and InsertMenu functions. Syntax HMENU CreateMenu(VOID); Return Value If the function succeeds, the return value is a handle to the newly created menu. If the function fails, the return value is NULL. To get extended error information, call GetLastError . Remarks Resources associated with a menu that is assigned to a window are freed automatically. If the menu is not assigned to a window, an application must free system resources associated with the menu before closing. An application frees menu resources by calling the DestroyMenu function. Windows 95/98/Me: The system can support a maximum of 16,364 menu handles. Function Information Minimum DLL Versionuser32.dll HeaderDeclared in Winuser.h, include Windows.h Import libraryUser32.lib Minimum operating systemsWindows 95, Windows NT 3.1 UnicodeImplemented as Unicode version. See Also Menus , AppendMenu , CreatePopupMenu , DestroyMenu , InsertMenu , SetMenu , InsertMenuItem ==原始网址==http://msdn.microsoft.com/en-us/library/ms647624(VS.85).aspx\n |
| 随便看 |
|
计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。