Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - Shortcut Bar Colours
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Shortcut Bar Colours

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


Joined: 27 June 2005
Status: Offline
Points: 4
Post Options Post Options   Thanks (0) Thanks(0)   Quote marknorris Quote  Post ReplyReply Direct Link To This Post Topic: Shortcut Bar Colours
    Posted: 13 October 2005 at 6:58am

Hi

I want to customise the colours used by the shortcut bar, but I am finding it difficult to identify which display elements need changing.

I am trying to build this mock-up:

 

The currently selected group (at the top in this example) should be in colour &HC8C8C8 to &HE4E4E4.

The hot tracking colour should be &H4488DB.

If I do the following:

    With SuiteControlsGlobalSettings.ColorManager
        .SystemTheme = xtpSystemThemeUnknown
        .SetColor STDCOLOR_BTNFACE, &HC8C8C8         'CaptionLight
        .SetColor STDCOLOR_WINDOW, &HE4E4E4

        .SetColor STDCOLOR_HIGHLIGHT, &H4488DB
    End With

I get total wrong colours! Help!

Back to Top
gbdc View Drop Down
Newbie
Newbie


Joined: 22 October 2005
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote gbdc Quote  Post ReplyReply Direct Link To This Post Posted: 22 October 2005 at 6:43pm
Marknorris,

Were u able to find an answer? I face the same problem, and I'd like to know how you were able to (hopefully) resolve the issue.

Darren
Back to Top
glennj View Drop Down
Newbie
Newbie


Joined: 07 February 2006
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote glennj Quote  Post ReplyReply Direct Link To This Post Posted: 03 April 2006 at 10:46am

is it like this?

 

With SuiteControlsGlobalSettings.ColorManager()

.SystemTheme = XtremeSuiteControls.XTPCurrentSystemTheme.xtpSystemThemeUnkn own

.SetColor(XtremeSuiteControls.XTPColorManagerColor.STDCOLOR_ BTNFACE, System.UInt32.Parse(&HC8C8C8))

.SetColor(XtremeSuiteControls.XTPColorManagerColor.STDCOLOR_ WINDOW, System.UInt32.Parse(&HE4E4E4))

.SetColor(XtremeSuiteControls.XTPColorManagerColor.STDCOLOR_ HIGHLIGHT, System.UInt32.Parse(&H4488DB))

End With

Back to Top
glennj View Drop Down
Newbie
Newbie


Joined: 07 February 2006
Status: Offline
Points: 24
Post Options Post Options   Thanks (0) Thanks(0)   Quote glennj Quote  Post ReplyReply Direct Link To This Post Posted: 03 April 2006 at 11:40am

I can't get it to work either... can any one help? Admin?

I'm programming in VB.Net

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: 03 April 2006 at 12:27pm
In VB the "R" and "B" colors are reversed.  Try setting as BGR instead of RGB when setting the colors.
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.176 seconds.