术语 | drawmenubar |
释义 | DrawMenuBar 语法: BOOL DrawMenuBar( HWND hWnd ); DrawMenuBar功能 该DrawMenuBar函数重绘指定窗口的菜单栏。如果菜单栏后,系统已经创建了窗口的变化,这个函数必须调用提请改变菜单栏。 参数 hWnd [in]句柄窗口的菜单栏需要重新绘制。 返回值 如果函数成功,返回值为非零。 如果函数失败,返回值是零。为了获得更多错误信息,调用GetLastError。 功能信息 最低DLL版本 user32.dll 在Winuser.h中HeaderDeclared,头文件:winuser.h import libraryUser32.lib 最低操作系统Windows 95,Windows NT 3.1 UnicodeImplemented为Unicode版本。 参见 菜单,DeleteMenu,InsertMenuItem,RemoveMenu,SetMenuItemInfo ==英文原文==DrawMenuBar Function The DrawMenuBar function redraws the menu bar of the specified window. If the menu bar changes after the system has created the window, this function must be called to draw the changed menu bar. Syntax BOOL DrawMenuBar( HWND hWnd ); Parameters hWnd [in] Handle to the window whose menu bar needs redrawing. Return Value If the function succeeds, the return value is nonzero. If the function fails, the return value is zero. To get extended error information, call GetLastError . 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 , DeleteMenu , InsertMenuItem , RemoveMenu , SetMenuItemInfo ==原始网址==http://msdn.microsoft.com/en-us/library/ms647633(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。