How to draw a bitmap in the right side of MainMenu?

G

Guest

Hi,

I am finding for a way to draw a logo bitmap in the Main Menu of an application window (similar to Internet Explorer main window).

I tried 2 ways to do that. Neither of them worked out.

1. I can create an additional menu item with ownerdraw style, but I can't make it align to the right side.
2. I could create a user control with a menu and insert it to the main window, not docking it. But it is impossible to create a MainMenu in a user control.

Thank you in advance for any help,
Mikhail
 
Y

Ying-Shen Yu[MSFT]

Hi MIkhail,

Thanks for posting in the community!

From your description, you'd like to draw a logo on the right side on the
main menu , just like IE logo. If my understanding is not correct , please
feel free to correct me.

IE does using a rebar control, however currently there is no Rebar control
in .NET Framework v1.1. You may found there are many 3rd party wrappers for
Rebar/ToolBar control, which might be helpful to this issue

For your convenience, I listed some link of these components which might be
helpful.
http://www.divil.co.uk/net/controls/sandbar/
http://www.sharplibrary.com/
You may find more components at
http://www.windowsforms.net/ControlGallery/default.aspx?Category=21&tabindex
=9

Does this way solve your problem?
If you still have problem on this issue, please feel free to reply this
thread,Thanks!

Best regards,

Ying-Shen Yu [MSFT]
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security

This posting is provided "AS IS" with no warranties and confers no rights.
This mail should not be replied directly, "online" should be removed before
sending.
 
G

Guest

Hi, Ying-Shen

Thank you for your reply,
the links are really helpful.

Mikhail Golovnykh
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top