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 » Add-ins for Outlook
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Command buttons when using word as email button



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 9th 06, 05:53 PM posted to microsoft.public.outlook.program_addins
[email protected]
external usenet poster
 
Posts: 3
Default Command buttons when using word as email button

I have a addin where I add a new send button which stores the mail in
another system besides sending it.

When I don't use Word as editor I can keep track of which inspector
that should handle a button event by using the really good approach
with wrappers found in

http://www.slovaktech.com/code_sampl...spectorWrapper

But I haven't found a solution that works when I switch to use word as
editor.

Anyone who has a solution to this? Using Outlook 2002 and 2003.

Best regards
Tommy

Ads
  #2  
Old October 9th 06, 10:27 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Command buttons when using word as email button

Use the Word object model in your Inspector wrapper to handle
Word.WindowActivate. That fires when your WordMail window is active. If you
have created unique Tag properties for each button you can then use the Key
property in the wrapper class to see if the button has a Tag that ends in
the Key value and starts with your unique Tag string.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


wrote in message
oups.com...
I have a addin where I add a new send button which stores the mail in
another system besides sending it.

When I don't use Word as editor I can keep track of which inspector
that should handle a button event by using the really good approach
with wrappers found in

http://www.slovaktech.com/code_sampl...spectorWrapper

But I haven't found a solution that works when I switch to use word as
editor.

Anyone who has a solution to this? Using Outlook 2002 and 2003.

Best regards
Tommy


 




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
command buttons in outlook forms [email protected] Outlook - Using Forms 1 August 21st 06 10:15 PM
How to prohibit command bar buttons customization? Andrey Starodoubtsev Outlook and VBA 1 July 13th 06 04:02 PM
Delete Excel Command Button Before Email is Sent White Horse Outlook and VBA 1 April 28th 06 07:01 AM
Command bar button FaceID Icon donald Add-ins for Outlook 20 February 9th 06 07:42 PM
Command button not working on read page jbtempe Outlook - Using Forms 2 January 14th 06 12:25 AM


All times are GMT +1. The time now is 08:39 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.