View Single Post
  #2  
Old October 13th 09, 02:49 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default How to read color of form region title?

As far as I know the only way to do that is to get the screen coordinates of
a point and read the pixel at that point using API calls. There might be
something also in the CLR to read screen pixels, I'm guessing there is but I
haven't tried that so I can't be positive.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Mark B" wrote in message
...
I want my combobox text to be the same color as the form region title.

How can I programmatically read that color?
And other Outlook screen item colors for that matter?

TIA


Ads