Capturing cursor window

  • Thread starter Thread starter Jon Rowlan
  • Start date Start date
J

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
 
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:
 
Thanks Michael, I will take a look.

jON

Michael Bauer said:
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:
 
Back
Top