Re: OwnerDrawn Menu Items
From: Andy Becker (x_at_x.com)
Date: 08/04/04
- Next message: Bill Johnson: "CTRL + SHIFT + <first letter of property> in VB.NET?"
- Previous message: Simon: "Re: Last Stumbling Block on Subclassing OpenFileDialog - AddressOf problem"
- In reply to: Dino Buljubasic: "OwnerDrawn Menu Items"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 4 Aug 2004 17:40:07 -0500
"Dino Buljubasic" <dino@noplacelikehome.com> wrote in message
news:81o2h0ht5grc5cgddkul71oatshvvg51to@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
- Next message: Bill Johnson: "CTRL + SHIFT + <first letter of property> in VB.NET?"
- Previous message: Simon: "Re: Last Stumbling Block on Subclassing OpenFileDialog - AddressOf problem"
- In reply to: Dino Buljubasic: "OwnerDrawn Menu Items"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|