![]() |
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 |
#1
|
|||
|
|||
![]()
I am writing a routine to allow a user to classify an email from a drop down
box that will be placed on the main menu of Outlook. I want to disable the lookup unless the user has an item with a mail address in it. For example, for a calendar item I don't want the selection box to be enabled. Is it possible to a) identify what sort of item the cursor is positioned on b) enable/disable my control when a user clicks on an item that does not have a mail address type content. jON |
Ads |
#2
|
|||
|
|||
![]() a) Maybe with a lot of Win32 API calls. That window class is called SUPERGRID and I never saw a sample for that. b) You can track the SelectionChange event and check which item types the Selection collection contains (if any). -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Quick-Cats - Categorize Outlook data: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Mon, 14 May 2007 15:34:56 +0100 schrieb Jon Rowlan: I am writing a routine to allow a user to classify an email from a drop down box that will be placed on the main menu of Outlook. I want to disable the lookup unless the user has an item with a mail address in it. For example, for a calendar item I don't want the selection box to be enabled. Is it possible to a) identify what sort of item the cursor is positioned on b) enable/disable my control when a user clicks on an item that does not have a mail address type content. jON |
#3
|
|||
|
|||
![]()
Thanks Michael, I will take a look.
jON "Michael Bauer [MVP - Outlook]" wrote in message .. . a) Maybe with a lot of Win32 API calls. That window class is called SUPERGRID and I never saw a sample for that. b) You can track the SelectionChange event and check which item types the Selection collection contains (if any). -- Viele Gruesse / Best regards Michael Bauer - MVP Outlook Quick-Cats - Categorize Outlook data: http://www.vboffice.net/product.html?id=2006063&cmd=detail&lang=en&pub=6 Am Mon, 14 May 2007 15:34:56 +0100 schrieb Jon Rowlan: I am writing a routine to allow a user to classify an email from a drop down box that will be placed on the main menu of Outlook. I want to disable the lookup unless the user has an item with a mail address in it. For example, for a calendar item I don't want the selection box to be enabled. Is it possible to a) identify what sort of item the cursor is positioned on b) enable/disable my control when a user clicks on an item that does not have a mail address type content. jON |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Capturing responses to a form | [email protected] | Outlook - Using Forms | 0 | January 12th 07 09:02 AM |
Cursor on new message window but no text appears when typed? | TommieC | Outlook - General Queries | 0 | March 15th 06 07:13 AM |
capturing calendar/appointment event? | Sydney | Outlook and VBA | 0 | February 1st 06 06:45 AM |
Capturing Message URL | Avatar | Outlook Express | 7 | January 30th 06 06:47 PM |
capturing the currentuser... | Martin | Outlook and VBA | 7 | January 17th 06 11:56 AM |