Hello,
In my latest program, I have a contextmenu, which I would like to add some bitmaps to, but not having any luck so far. Anyone any ideas, or code for me to look at?
Thanks a lot, Brian
Brian,
Maybe studying Sapero's code can help you?
https://www.ionicwind.com/forums/index.php?topic=2914.msg24202#msg24202
He made version both for Aurora and EB. Just search for Office Menu
Good luck!
Egil
Egil, thanks for that. I remember seeing that yonks ago. Anyway, I have just taken another look at Sapero's code, and - no thanks! I have no idea what he is doing there
Brian
Maybe this page make things a little more understandable:
https://learn.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-setmenuitembitmaps
IWB doesn't work here anymore, so unable experiment myself.
Egil
Thanks, Egil,
I am already using that call successfully in my menus, but I can't seem to retrieve the handle of a Contextmenu in the Systray. Will keep looking . . .
I am using Fletchie's SysTrayIcon code
Brian