Can I get some code showing how to draw a bitmap/icon on the right-click context menu?
I have working code already for a DLL for the context menu, but it’s just text. Example here: http://www.marcocantu.com/code/md5/TODOSHLL.htm
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It seems you can simply use the SetMenuItemBitmaps API.
Edit: Here‘s a Delphi example.
Edit 2: Warning: I just noticed that the Delphi example leaks the bitmap handle and will probably crash the system eventually. The bitmap should be loaded only once in the constructor of the object (and better from its own resource, not from the file system) and released in the destructor.