does a toolBarButton with pushButton style not popup contextMenu??

H

Hari

Hi,

I need to have a menuBar with some images, which when selected
should popup a menu. But the toolBar does'nt provide the exact thing
what i require. It does'nt popup the menu when the button style is
pushButton. It works only with dropdown style. But this style also
displays the dropdown arrow. Is there a way that i could let the menu
popup for pushButton style button?


Thanks,

Hari.
 
B

Buthrakaur

Hi, I think you could use ContextMenu for this. Just call something
like cmMyMenu.Show(this, new Point(123, 123)) in the tollbar
button-click event handler...

Filip
 

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