By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,948 Members | 1,522 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,948 IT Pros & Developers. It's quick & easy.

OwnerDrawn Menu Items

P: n/a
Hi,

My application has a menu with some of the menu items that have their
own menu items. By default, VB will add a black right rectangle when
a menu items has its own menu items.

However, when my menu items have thier property OwnerDrawn set to
true I have to draw menu items and text inside each menu items by
myself. All that works fine, but how do I get the black right
triangle drawn as well?

Thank you
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"Dino Buljubasic" <di**@noplacelikehome.com> wrote in message
news:81********************************@4ax.com...
Hi,

My application has a menu with some of the menu items that have their
own menu items. By default, VB will add a black right rectangle when
a menu items has its own menu items.

However, when my menu items have thier property OwnerDrawn set to
true I have to draw menu items and text inside each menu items by
myself. All that works fine, but how do I get the black right
triangle drawn as well?

Thank you


Have a look at the ControlPaint class, lots of goodies in there.
DrawMenuGlyph should be of particular interest to you.

Best Regards,

Andy
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.