Images in ADXCommandBarPopup

Add-in Express™ Support Service
That's what is more important than anything else

Images in ADXCommandBarPopup
 
Esteban Astudillo




Posts: 146
Joined: 2006-02-27
Is it possible to have an image (icon) besides the name of a ADXCommandBarPopup button? I'm trying to achieve something similar to what Outlook provides with the "New" button in the Explorer. In that case you can click in the button to execute the default action or click on the drop down list to choose a related action.

I managed to have the fuctionality but I can't figure out how to assign the an icon to my main button (the equivalent to the "New" button in Outlook). At design time the ADXCommandBarPopup control doesn't expose the Images* properties.

Is this possible at all?

Thanks!
Posted 17 Mar, 2006 10:53:07 Top
Sergey Grischenko


Add-in Express team


Posts: 7235
Joined: 2004-07-05
Hi Esteban.

Unfortunately this is not possible. The Office Object Model doesn't provide this feature.
Posted 17 Mar, 2006 13:39:10 Top
Esteban Astudillo




Posts: 146
Joined: 2006-02-27
By the way, I'm working on getting around this limitation by changing the button's icon on the OnClick event, simulating the visual behavior of a checkbox control. It looks like the real thing.

My only problem right now is that I can’t make it to work in a button located in an Inspector’s toolbar. It works fine for an Explorer’s toolbar but not for an Inspector. See my other post for details:
http://www.add-in-express.com/forum/read.php?FID=5&TID=932


Posted 20 Mar, 2006 16:16:51 Top
Sergey Grischenko


Add-in Express team


Posts: 7235
Joined: 2004-07-05
Esteban, I have just answered you in the following topic:
http://www.add-in-express.com/forum/read.php?FID=5&TID=932
Posted 20 Mar, 2006 16:54:36 Top