Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Icons in PopupMenus?
#3
This can be achieved by using bitmaps instead of the default checkmarks.
In PopupMenuCreate, add MIIM_CHECKMARKS to mii.fMask, then set:
mii.hbmpUnchecked=LoadPictureFile("Your bitmap to be shown next to item when it is unchecked.bmp")
mii.hbmpChecked=LoadPictureFile("Your bitmap to be shown next to item when it is checked.bmp")

However it would be nice to be able to use icons instead of bitmaps.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)