Help Center
Help Center›AfxNova

CMenu.GetCheckMarkWidthmethod

Retrieves the dimensions of the default check-mark bitmap. The system displays this bitmap next to selected menu items. Before calling the MenuSetItemBitmaps function to replace the default check-mark bitmap for a menu item, an application must determine the correct bitmap size by calling CMenu.GetCheckMarkWidth and CMenu.GetCheckMarkHeight. Usage example: DIM nWidth AS LONG = CMenu.GetCheckMarkWidth

WindowsmethodCMenu.incundocumented
Not documented upstream. This symbol was found in the AfxNova source but appears in no documentation topic. The signature below is read directly from the code; any description comes from the source comments.

Syntax

PRIVATE FUNCTION CMenu.GetCheckMarkWidth () AS LONG

Description

Retrieves the dimensions of the default check-mark bitmap. The system displays this bitmap next to selected menu items. Before calling the MenuSetItemBitmaps function to replace the default check-mark bitmap for a menu item, an application must determine the correct bitmap size by calling CMenu.GetCheckMarkWidth and CMenu.GetCheckMarkHeight. Usage example: DIM nWidth AS LONG = CMenu.GetCheckMarkWidth

Reference

  • Include file CMenu.inc
  • Defined in AfxNova/CMenu.inc:1292