You'd have to use Win32 API functions for that. You'd get the location of
where you want to read the color and get the color and gradient used and
then try to match that in your form.
--
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
"shubhangi" wrote in message
...
hello
I've customized IPM.POST form, not displaying Message page,displaying
P.2,P.3 pages only for OL 2007.I need to place AX ctrl (say ctl1,
developed
using vb 6) on it.I want to show my customized page & AX ctrl backcolor
using the same color
that OL uses for Message page BackColor of Standard PostItem. Is it
possible?If so how to do this?I'm using VSTO SE Addin.
Thanks