![]() |
| 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. |
|
|||||||
| Tags: application, back, based, colors, office, set, theme |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
I am developing an addin to outlook 2007 and would like to set my form and other control backgrounds based on the user's office theme(Blue, Silver, Black). I could get the user's office selected theme from registry. Could someone suggest a best way of applying this selecting theme to the controls in my application? Thanks & Regards Ponnu |
| Ads |
|
#2
|
|||
|
|||
|
You can't apply a theme to colors in Outlook form controls, if that's what
you're asking about. You'd have to read the color as an RGB color value and apply that to the backcolor properties of your controls. Same thing goes for any other controls you are using. -- 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 "Ponnu" wrote in message ... Hi, I am developing an addin to outlook 2007 and would like to set my form and other control backgrounds based on the user's office theme(Blue, Silver, Black). I could get the user's office selected theme from registry. Could someone suggest a best way of applying this selecting theme to the controls in my application? Thanks & Regards Ponnu |
|
#3
|
|||
|
|||
|
Hi Ken,
Yes, I have RGB equivalents for all the three themes. Is the only way to set the background color for all my controls in the addin like my form, grid and other controls? or is there a way so I could set the RGB color in one place and all my controls would inherit them. Thanks & Regards Ponnu "Ken Slovak - [MVP - Outlook]" wrote: You can't apply a theme to colors in Outlook form controls, if that's what you're asking about. You'd have to read the color as an RGB color value and apply that to the backcolor properties of your controls. Same thing goes for any other controls you are using. -- 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 "Ponnu" wrote in message ... Hi, I am developing an addin to outlook 2007 and would like to set my form and other control backgrounds based on the user's office theme(Blue, Silver, Black). I could get the user's office selected theme from registry. Could someone suggest a best way of applying this selecting theme to the controls in my application? Thanks & Regards Ponnu |
|
#4
|
|||
|
|||
|
As far as I know you have to set things control by control.
-- 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 "Ponnu" wrote in message ... Hi Ken, Yes, I have RGB equivalents for all the three themes. Is the only way to set the background color for all my controls in the addin like my form, grid and other controls? or is there a way so I could set the RGB color in one place and all my controls would inherit them. Thanks & Regards Ponnu |
|
#5
|
|||
|
|||
|
Thanks Ken.
"Ken Slovak - [MVP - Outlook]" wrote: As far as I know you have to set things control by control. -- 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 "Ponnu" wrote in message ... Hi Ken, Yes, I have RGB equivalents for all the three themes. Is the only way to set the background color for all my controls in the addin like my form, grid and other controls? or is there a way so I could set the RGB color in one place and all my controls would inherit them. Thanks & Regards Ponnu |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| outlook 2007 custom form colors/xp theme | code_runner | Outlook - Using Forms | 1 | February 24th 08 03:01 PM |
| Getting theme colors | Mike | Add-ins for Outlook | 0 | January 8th 08 04:22 PM |
| Black theme dumps ribbon-can't get it back in Out2007? | Jonathan | Outlook - Installation | 3 | January 3rd 07 03:43 PM |
| Office 2007 Colors Scheme | C. Moya | Outlook - General Queries | 20 | December 10th 06 01:58 PM |
| Office 2007 colors suck. | SSUlmtd | Outlook - Installation | 1 | July 6th 06 02:29 PM |