Can the colors of a context menu be changed?

G

Guest

Hello,

In VS 2003, is it possible to programmatically change the foreground and
background colors of a context menu?

Thx.
Andy
 
G

G Himangi

Yes its possible - you will have to set the OwnerDraw property of Menuitem
to true and handle the MeasureItem and DrawItem events.


---------
- G Himangi, Sky Software http://www.ssware.com
Shell MegaPack : Drop-In Explorer GUI Controls For Your Apps (.Net & ActiveX
Editions Available)
EZNamespaceExtensions.Net : Develop namespace extensions rapidly in .Net
EZShellExtensions.Net : Develop all shell extensions rapidly in .Net
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top