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.
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.