![]() |
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. |
|
|
Thread Tools | Search this Thread | Display Modes |
#4
|
|||
|
|||
![]()
I don't think there's a difference in compatibility unless you're supporting
Outlook 2000. I have no idea what you mean by the dispid's for those events, or why you would need that. Activate gets called many times. It may fire 2 or 3 times the first time the item is activated, and then each time the focus returns to that item. Just use a flag to test for the first Activate or to test for the UI having been created. Since there are also cases where that first Activate will not fire you usually back that up with a check in a handler for OnSelectionChange, which will fire in those cases and there you also check for the UI creation. -- 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 "bstrum" wrote in message ... Couple questions: 1) Should I use InspectorEvents or InspectorEvents_10? I.e., which one ensures maximum compatiblity? 2) What are the dispids for Activate, Deactivate and Closed? 3) Does Activate get called multiple times for a specific mailitem? Thank you, Benjamin Strum ThinkTron Corporation |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating a menu or command button in Outlook | salad | Outlook and VBA | 6 | April 9th 07 04:26 AM |
inspector.ShowFormPage | Steffen Heinzl | Add-ins for Outlook | 1 | November 16th 06 08:34 PM |
how to find out, that inspector window contain command bar or not | Ram | Add-ins for Outlook | 1 | May 30th 06 03:17 PM |
Inspector outdated | DanielH | Outlook and VBA | 4 | May 4th 06 07:53 PM |
Help! Inspector.Close is fired before Inspector.Activate handler finishes | Sergey Anchipolevsky | Add-ins for Outlook | 8 | February 9th 06 10:51 AM |