Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Suite Pro
  New Posts New Posts RSS Feed - VisualStudio2015 Dark theme
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

VisualStudio2015 Dark theme

 Post Reply Post Reply
Message View Drop Down

Joined: 06 November 2016
Location: cluj
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Quote  Post ReplyReply Direct Link To This Post Topic: VisualStudio2015 Dark theme
    Posted: 06 November 2016 at 2:05pm
I have 2 questions.
1) How to change the background or forecolor menu (controlfile) as shown in the video, texts can not see    ..... can 'change the background or text color

2) how change the color of the status bar

Back to Top
olebed View Drop Down
Admin Group
Admin Group

Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 08 November 2016 at 2:31pm

1) in themes VS2015, VS2012 and Office2013  should be used CXTPRibbonBackstageView instead old CXTPRibbonSystemPopupBar. See our example  Samples\ActiveX\CommandBars\VB\RibbonSample\frmMain.frm  in method CreateBackstageView()
Sub CreateBackstageView()
    Dim RibbonBar As RibbonBar
    Set RibbonBar = CommandBars.ActiveMenuBar
    Dim BackstageView As RibbonBackstageView
    Set BackstageView = CommandBars.CreateCommandBar("CXTPRibbonBackstageView")
    Select Case CommandBars.VisualTheme
        Case xtpThemeOffice2013
            BackstageView.SetTheme xtpThemeOffice2013
        Case xtpThemeVisualStudio2015
            BackstageView.SetTheme xtpThemeVisualStudio2015
        Case Else
            BackstageView.SetTheme xtpThemeRibbon
    End Select
    Set RibbonBar.AddSystemButton.CommandBar = BackstageView
    BackstageView.AddCommand ID_FILE_SAVE, "Save"
    BackstageView.AddCommand ID_FILE_SAVE_AS, "Save As"
    BackstageView.AddCommand ID_FILE_OPEN, "Open"
    BackstageView.AddCommand ID_FILE_CLOSE, "Close"

2) There are no ways to change colors in status bar from VB or C#. But you can change VisualStudio2015Dark.ini file in VisualStudio2015.dll  in section [CommandBars.StatusBar].

 Oleksandr Lebed
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

This page was generated in 0.076 seconds.