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.

Re: does a toolBarButton with pushButton style not popup contextMenu?? by Buthrakaur

Buthrakaur
Fri Dec 22 04:53:39 CST 2006

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


Hari wrote:
> 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.