Help Center

GetCheckMarkWidthfunction

Retrieves the width of the default check-mark bitmap.

Windowsfunctiondoc-orphan
No implementation located. This member is documented, but the source scan found no matching declaration. It is likely declared in a header this scan does not resolve, or provided by a macro.

Syntax

FUNCTION GetCheckMarkWidth () AS LONG

Return value

Returns the width of the default check-mark bitmap.

Description

Retrieves the width of the default check-mark bitmap. The system displays this bitmap next to selected menu items. Before calling the SetItemBitmaps function to replace the default check-mark bitmap for a menu item, an application must determine the correct bitmap size by calling GetCheckMarkWidth and GetCheckMarkHeight.

Reference

  • Documented in Windows/WIndows Controls/CMenu Class.md
  • Topic: About Menus