Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - ShortcutCaption and SetSpecialColor?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ShortcutCaption and SetSpecialColor?

 Post Reply Post Reply
Author
Message
gallman View Drop Down
Newbie
Newbie


Joined: 06 September 2004
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote gallman Quote  Post ReplyReply Direct Link To This Post Topic: ShortcutCaption and SetSpecialColor?
    Posted: 20 November 2004 at 8:30pm

Hi,

Q: How do I set the SpecialColors for the ShortcutCaption control to force Office 2003 blue on non-themed operating systems?

I am using the code to force the CommandBars to use Office2003 blue on non-themed operating systems and it works like a charm. However, I don't see a SetSpecialColor property for the ShortcutCaption control.

Thanks!

Back to Top
Boyd View Drop Down
Senior Member
Senior Member


Joined: 08 December 2003
Location: United States
Status: Offline
Points: 285
Post Options Post Options   Thanks (0) Thanks(0)   Quote Boyd Quote  Post ReplyReply Direct Link To This Post Posted: 21 November 2004 at 8:34am

As best I can tell, CommandBars is the only ActiveX control to offer the ability to set the colors used by a theme.  I've posted similar questions about using this feature in other controls, but I don't think I've ever gotten a response.  Hopefully this is a feature they'll add in the next release, but you can't do it now.  You may want to go ahead and submit it as a feature request.  The more requests they receive, the more apt they are to include the functionality.

Sorry I couldn't deliver good news.

Here are the other posts that discussed the same topic (but in reference to DockingPanes):
https://forum.codejock.com/forum_posts.asp?TID=1370
https://forum.codejock.com/forum_posts.asp?TID=1163



Edited by Boyd
Back to Top
gallman View Drop Down
Newbie
Newbie


Joined: 06 September 2004
Status: Offline
Points: 18
Post Options Post Options   Thanks (0) Thanks(0)   Quote gallman Quote  Post ReplyReply Direct Link To This Post Posted: 21 November 2004 at 2:41pm

Boyd, thanks for the reply. I've submitted a feature request. Hopefully, we'll hear something from CodeJock soon (at least an estimated timeframe).

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 23 February 2005 at 1:58pm
You can now do this.  You can set the individual colors or you can "force" a theme.  Keep in mind that there is no way to change system controls like the scroll bar and window frame.

To "force" a WinXP theme on non XP systems (But take note of the disadvantages above):

Private Sub Form_Initialize()
    CommandBarsGlobalSettings.ColorManager.SystemTheme = xtpSystemThemeBlue
    SuiteControlsGlobalSettings.ColorManager.SystemTheme = xtpSystemThemeBlue
End Sub

And look at this link:
http://forum.codejock.com/forum_posts.asp?TID=1800& ;TPN=1


Edited by SuperMario
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.