术语 | getmenucheckmarkdimensions |
释义 | GetMenuCheckMarkDimensions 语法: LONG GetMenuCheckMarkDimensions(VOID); Return Value The return value specifies the height and width, in pixels, of the default check-mark bitmap. The high-order word contains the height; the low-order word contains the width. Remarks Note The GetMenuCheckMarkDimensions function is included only for compatibility with 16-bit versions of Microsoft Windows. Applications should use the GetSystemMetrics function with the CXMENUCHECK and CYMENUCHECK values to retrieve the bitmap dimensions. 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 , SetMenuItemBitmaps GetMenuCheckMarkDimensions功能 该GetMenuCheckMarkDimensions函数返回的默认检查尺寸的标志图。该系统显示此位图旁选定菜单项。在调用SetMenuItemBitmaps函数来替换默认检查标记位图的菜单项,通过调用GetMenuCheckMarkDimensions应用程序必须确定正确的位图的大小。 ==英文原文==GetMenuCheckMarkDimensions Function The GetMenuCheckMarkDimensions function returns the dimensions of the default check-mark bitmap. The system displays this bitmap next to selected menu items. Before calling the SetMenuItemBitmaps function to replace the default check-mark bitmap for a menu item, an application must determine the correct bitmap size by calling GetMenuCheckMarkDimensions. Syntax LONG GetMenuCheckMarkDimensions(VOID); Return Value The return value specifies the height and width, in pixels, of the default check-mark bitmap. The high-order word contains the height; the low-order word contains the width. Remarks Note The GetMenuCheckMarkDimensions function is included only for compatibility with 16-bit versions of Microsoft Windows. Applications should use the GetSystemMetrics function with the CXMENUCHECK and CYMENUCHECK values to retrieve the bitmap dimensions. 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 , SetMenuItemBitmaps ==原始网址==http://msdn.microsoft.com/en-us/library/ms647975(VS.85).aspx\n |
随便看 |
|
windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。