Changing the system theme |
Post Reply |
Author | ||
ianp
Moderator Group Joined: 19 December 2003 Location: United Kingdom Status: Offline Points: 119 |
Post Options
Thanks(0)
Posted: 17 May 2005 at 9:05am |
|
Is it possible to change the SystemTheme while my application is running? Currently I use the following code from the MDIForm_Initialize event to set the SystemTheme on none XP workstations:
But I would like to allow the users to change this setting from an Options form, however, using the following code has no effect.
|
||
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
|
The problem that you need to notify that color was changed. option 1 Send. WM_SYSCOLORCHANGED to your frame option 2. change Visual theme to same: ComamndBars.VisualTheme = ComamndBars.VisualTheme |
||
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
ianp
Moderator Group Joined: 19 December 2003 Location: United Kingdom Status: Offline Points: 119 |
Post Options
Thanks(0)
|
|
Thanks oleg, works like a charm. One additional question. How do I set the VisualTheme for the ReportControl?
|
||
ianp
Moderator Group Joined: 19 December 2003 Location: United Kingdom Status: Offline Points: 119 |
Post Options
Thanks(0)
|
|
I've since discovered that this doesn't work for WorkSpaceTabs. Existing tabs retain their theming, new tabs get the new theme. How can I reset the theming for the Tab Workspace? Thanks |
||
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |