08-22-2009, 02:42 AM
Can icons be used in PopupMenu menus?
I can't find info about syntax to include icons in PopupMenu.
I can't find info about syntax to include icons in PopupMenu.
Icons in PopupMenus?
|
08-22-2009, 02:42 AM
Can icons be used in PopupMenu menus?
I can't find info about syntax to include icons in PopupMenu.
08-22-2009, 10:17 AM
No, PopupMenu does not support icons. Would need to create other function for it.
09-28-2009, 02:45 AM
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. |
« Next Oldest | Next Newest »
|