How to read color of form region title?

M

Mark B

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
 
K

Ken Slovak - [MVP - Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top