Colors for menus and toolbars? |
Post Reply |
Author | |
kingfenix
Newbie Joined: 17 August 2004 Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 17 August 2004 at 3:24pm |
ok, the office2003 setting seems to only change the shape and structure of controls, so can anyone tell me is there some way to change the colors to the blue scheme office 2003 uses? any help is appreciated
Doug |
|
Maui
Groupie Joined: 10 June 2004 Status: Offline Points: 95 |
Post Options
Thanks(0)
|
When you set the Visual Theme property to Office2003 the control should automatically display in whatever theme XP is currently using. If you arent developing on an xp machine then I dont know what would happen. Or if you mean how do you set the colour of other controls to be the same blue then I use this formMain.BackColor = formMain.CommandBars.GetSpecialColor(XPCOLOR_SPLITTER_FACE) |
|
Boyd
Senior Member Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
Post Options
Thanks(0)
|
If you're running the Office2003 theme on a non-XP machine, you won't get the XP visual themes (which is what the Blue and Olive schemes are). If you install Office2003 on a non-XP machine, you'll see that CommandBars accurately mimics the look-and-feel of Office2003 as it is displayed on non-XP machines. I seem to remember this question coming up in the past, so search the forums. I believe a user posted a suggestion for how to come close to duplicating the Blue theme on a non-XP machine using the Office2003 theme. That post might help answer your question. |
|
Boyd
Senior Member Joined: 08 December 2003 Location: United States Status: Offline Points: 285 |
Post Options
Thanks(0)
|
This is the previous user post I was referring to. Turns out this solution was not for the ActiveX version of the control, so you won't be able to use it (ActiveX doesn't support custom themes). Here's the post anyway: https://forum.codejock.com/forum_posts.asp?TID=403&K W=office2003 Edited by Boyd |
|
Maui
Groupie Joined: 10 June 2004 Status: Offline Points: 95 |
Post Options
Thanks(0)
|
Perhaps try this: CommandBars.Options.LunaColors = True |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
Take a look at the MDISample in the new release (Click on the custom
theme button), the new method CommadnBars::SetSpecialColor (It appears
this did not get compiled into the help file) is used to customize the
colors of your commandbars
|
|
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 |