Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Missing xtpThemeOffice2016 constant in 18.3.0
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Missing xtpThemeOffice2016 constant in 18.3.0

 Post Reply Post Reply
Author
Message
SvenC View Drop Down
Groupie
Groupie


Joined: 02 February 2007
Status: Offline
Points: 79
Post Options Post Options   Thanks (0) Thanks(0)   Quote SvenC Quote  Post ReplyReply Direct Link To This Post Topic: Missing xtpThemeOffice2016 constant in 18.3.0
    Posted: 03 February 2018 at 5:57am
Hi,

I tried to build a project with 18.3.0 and get a missing xtpThemeOffice2016.

In 18.2.0 it is part of enum XTPPaintTheme in XTPCommandBarsDefines.h
In 18.3.0 is is missing.

Is that expected?

Which theme should I use for styles dll Office2016.dll?

Regards
Sven
--
SvenC

Toolkit Pro 15.3.1, 16.2.4, 16.3.1, 16.4.0, 17.2.0, 17.3.0, 18.0.1, 18.2 with VC++ 2010, 2012, 2013, 2015, 2017
Back to Top
olebed View Drop Down
Admin Group
Admin Group


Joined: 01 July 2014
Location: Ukraine
Status: Offline
Points: 841
Post Options Post Options   Thanks (0) Thanks(0)   Quote olebed Quote  Post ReplyReply Direct Link To This Post Posted: 03 February 2018 at 5:00pm
Hello,

As I know it is by design.  From beginning on introducing Office2016 we don't create new constant because this theme is very similar to Office2013. That constant xtpThemeOffice2016 was introduced on implementation full screen Backstage  to switch between old and new  style of Backstage. But then decided rename this "new backstage style" to xtpRibbonBackstageOffice2013Style because it is really introduced in MS Office 2013. And constant  xtpThemeOffice2016  isn't needed anymore.

For Office2016.dll you should use 
xtpThemeOffice2013 constant.
//Samples\Ribbon\RibbonMDISample\MainFrm.cpp
SetCommandBarsTheme(xtpThemeOffice2013, theApp.m_hModule2016, xtpIniOffice2016WordColorful);

XTPThemeDLL()->SetHandle(xtpIniOffice2016AccessBlack);
CXTPPaintManager::SetTheme(xtpThemeOffice2013);


Regards,
 Oleksandr Lebed
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.172 seconds.