Print Page | Close Window

ShortcutCaption and SetSpecialColor?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=1436
Printed Date: 16 November 2024 at 3:22pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ShortcutCaption and SetSpecialColor?
Posted By: gallman
Subject: ShortcutCaption and SetSpecialColor?
Date 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!




Replies:
Posted By: Boyd
Date 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=1370
https://forum.codejock.com/forum_posts.asp?TID=1163 - https://forum.codejock.com/forum_posts.asp?TID=1163



Posted By: gallman
Date 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).



Posted By: SuperMario
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net