471,627 Members | 1,413 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 software developers and data experts.

popmenu

How to put an icon beside a text in popupmenu?

Hrcko
Feb 9 '06 #1
1 1835
Hrcko,

You will have to custom draw the menu item. Set the OwnerDraw property
to true on the MenuItem, and then subscribe to the MeasureItem and DrawItem
events to provide the size and the contents for the menu.

Hope this helps.

--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Hrvoje Voda" <hr*********@luatech.com> wrote in message
news:ds**********@ss405.t-com.hr...
How to put an icon beside a text in popupmenu?

Hrcko

Feb 9 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Aaron | last post: by
4 posts views Thread by EMW | last post: by
4 posts views Thread by Dennis | last post: by
2 posts views Thread by analfabete | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.