CommandBarPopup...

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

CommandBarPopup...
How to emulate Outlook Icon+CommandBarPopup similar to the New button. 
Dmitry Kostochko


Add-in Express team


Posts: 2880
Joined: 2004-04-05
Hi Jeff,

Which component do you mean? Is it an ADX component or a control from the Janus library?

Posted 18 Oct, 2006 04:04:01 Top
Jeff Gilbert




Posts: 36
Joined: 2006-03-31
The click events weren't firing for the control contained in the CommandBarButtons that were contained in the Toolbar. That was before trying the Janus controls or getting the Toolbar addin.
Posted 22 Oct, 2006 14:04:00 Top
Dmitry Kostochko


Add-in Express team


Posts: 2880
Joined: 2004-04-05
Hi Jeff,

Could you please send me your project for testing? And describe please all steps for me to reproduce the situation.

Posted 23 Oct, 2006 08:24:27 Top
jd liau




Posts: 1
Joined: 2006-10-27
Hi

I am looking for the same solution. Is it possible to get the project in VS.NET 2003?

Posted 27 Oct, 2006 16:00:42 Top
Sergey Grischenko


Add-in Express team


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

Do our examples work on your PC? Should I send you any screenshots that show on how you can add event handlers for ADX controls?
Posted 28 Oct, 2006 11:01:00 Top
Cedric Dellevian




Posts: 10
Joined: 2006-08-31
Hi Sergey,

I'm testing this method in Delphi, but I have the same issue: the buttons in the (Popup)CommandBar does not trigger events...

What should I check ?

Regards,

Cedric
Posted 27 Feb, 2007 05:58:07 Top
Sergey Grischenko


Add-in Express team


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

Could you please send me the project? I will test it.


Posted 27 Feb, 2007 08:00:16 Top
Rob Furber




Posts: 7
Joined: 2006-07-22
Hi,

I seem to be having the same problem.

If a CommandBarButton is added to the Standard MenuBar then the OnClick event works but if it is moved to a MenuBar that is shown using ShowPopUp then the OnClick event stops working.

As Cedric says if you add an OnClick event handler to one of the CommandBarButtons in your OlPopupWithImage sample then this also does not work.

ADX V3.3
Outlook 11.8118.8122
C# 2.0
Posted 05 Mar, 2007 11:52:55 Top
Sergey Grischenko


Add-in Express team


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

Please use the OnSendMessage event handler to show the popup menu after you press the command bar button. To raise the OnSendMessage event you can use the SendMessage method of the addinmodule.
Posted 05 Mar, 2007 12:19:12 Top
Rob Furber




Posts: 7
Joined: 2006-07-22
Sorry I don't quite understand what you are getting at.

The problem is not showing the PopUp menu it is that when you click on a CommandBarButton on a MenuBar shown using ShowPopUp the OnClickEvent is not raised.
Posted 05 Mar, 2007 12:25:26 Top