adding picture to MsoBarPosition.msoBarPopup

V

vidishasharma

I want to attach an Icon to MsoBarPosition.msoBarPopup , reading all
the forums and groups the answer I found is it is not possible.

Can somebody suggest some workaound. I was trying to attach a popup
menu to normal CommandBarButton but no luck.

Please guide......
 
V

vidishasharma

I tried popupToolbar.ShowPopup(40, 110); however this is also not
behaving properly. I want the menu as soon as I clcik the button. This
way it shows the popupmenu which I have to clcik to get the entire
menu.
 
A

Andrei Smolin [Add-in Express]

Office doesn't support adding images to the popup control. You can use a
command bar button instead. In the Click event of the button,
you can show your popup using the myPopup.ShowPopup() method.
Naturally, you have to create such a popup command bar previously.

Regards from Belarus (GMT+2),

Andrei Smolin
Add-in Express Team Leader
www.add-in-express.com
 

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