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

How to read color of form region title?



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 13th 09, 01:43 AM posted to microsoft.public.outlook.program_addins
Mark B[_2_]
external usenet poster
 
Posts: 93
Default How to read color of form region title?

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
  #2  
Old October 13th 09, 03: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


 




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
The Form Region,"IPM".note.microsoft conversation.Region Alex Outlook - Using Contacts 1 June 7th 09 10:59 PM
Form Region Faisal Outlook - Using Forms 3 June 2nd 09 03:23 PM
Form Region Freezing Matt Outlook - Using Forms 1 May 13th 09 08:17 PM
how to change MS Office 2007 theme (the light bule color in the title bar, body, etc) JD Outlook - General Queries 1 April 25th 09 08:36 AM
how to change the color of the title bar? JD Outlook - General Queries 6 October 29th 08 11:39 PM


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