A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to Monitor Click event of a CommandBarPopup



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old December 1st 07, 12:10 AM posted to microsoft.public.outlook.program_vba
n777krish
external usenet poster
 
Posts: 7
Default How to Monitor Click event of a CommandBarPopup

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.
 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CommandBarPopup event? Robert G. Schaffrath Add-ins for Outlook 1 October 8th 07 04:21 PM
Can a new e-mail message event wake up a monitor? [email protected] Outlook - General Queries 2 August 22nd 07 03:27 AM
ComboBox click event [email protected] Outlook - Using Forms 1 February 2nd 07 02:56 PM
An event raise twice when click the button. David Add-ins for Outlook 0 July 16th 06 12:25 PM
form and event click ivanoe Outlook - Using Forms 1 January 17th 06 08:40 PM


All times are GMT +1. The time now is 03:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.