Transparent Menu Items

  • Thread starter Thread starter Dino M. Buljubasic
  • Start date Start date
D

Dino M. Buljubasic

I'd like to make my menu items appear transparent. Any ideas how to do
this?

Regards,
Dino
 
You need to create OwnerDraw menus to make them transparent, as far as I
know. Set the OwnerDraw property to True and handle the MeasureItem and
DrawItem events.
 
Sorry, that won't work. Although the MenuItems may be Transparent, they will
still be children of the Menu in which they reside, and as with any control,
they will be painted by their Parent.
Although this may be possible via subclassing, I don't believe it is worth
the effort. It would be much simpler to create your own Menu style control.

Russell Jones said:
You need to create OwnerDraw menus to make them transparent, as far as I
know. Set the OwnerDraw property to True and handle the MeasureItem and
DrawItem events.
 
Hi,
thanks for your reply but that will not work since the drawn is still on its
parent which in not transparent. I already tried it :)

Thanks anyways,
Dino

--


-------------------------------------------------------------------------
FIGHT BACK AGAINST SPAM!
Download Spam Inspector, the Award Winning Anti-Spam Filter
http://mail.giantcompany.com


Russell Jones said:
You need to create OwnerDraw menus to make them transparent, as far as I
know. Set the OwnerDraw property to True and handle the MeasureItem and
DrawItem events.
 
Back
Top