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
Author
Message
f.ctnzt@gmail.com View Drop Down
Newbie
Newbie


Joined: 06 November 2016
Location: cluj
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote f.ctnzt@gmail.com 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 http://screencast.com/t/gMkfMqai    ..... can 'change the background or text color

2) how change the color of the status bar

thanks
Back to Top
olebed View Drop Down
Admin Group
Admin Group
Avatar

Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 814
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
Hello,

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].

Regards,
 Oleksandr Lebed
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.078 seconds.