Can the colors of a context menu be changed?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

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

Thx.
Andy
 
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
 
Back
Top