does a toolBarButton with pushButton style not popup contextMenu??

  • Thread starter Thread starter Hari
  • Start date Start date
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.
 
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
 
Back
Top