How to Monitor Click event of a CommandBarPopup

N

n777krish

Hi All,

I am trying to monitor the click event handler of a commandbarpopup on
the standard toolbar.

From reading other posts and some tests I am finding that the
CommandBarPopup does not provide a click event handler i.e. I cannot
declare the CommandBarPopup WithEvents and than monitor a Click as
with other controls.

However, is there any way to retrieve a handle to the CommandBarPopUp?
If I can retrieve a handle to the commandbarpopup I can then try to
sub-class the control and then monitor messages using the windows API.

I can't seem to be able to retrieve the handle using SPY ++ and a
CommanBarPopUp does not have a hwnd property.

All help appreciated.

Neil Goundar.
 
K

Ken Slovak - [MVP - Outlook]

There is no Click event or Expand or whatever event for a CommandBarPopup
and no way that I know of to retrieve a hWnd for that control.
 

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