Checked menu items

How to use my own checkmark for menuitems ?

// Use GetSystemMetrics with CXMENUCHECK and CYMENUCHECK to get the

size of menu checkmarks

  SetMenuItemBitmaps(File1.Handle, 0, MF_BYPOSITION,

    Image1.Picture.Bitmap.Handle, Image2.Picture.Bitmap.Handle);

  DrawMenuBar(Handle);

 

Share this article!

Follow us!

Find more helpful articles: