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
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