Print Page | Close Window

Missing xtpThemeOffice2016 constant in 18.3.0

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=23560
Printed Date: 21 November 2024 at 10:33pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Missing xtpThemeOffice2016 constant in 18.3.0
Posted By: SvenC
Subject: Missing xtpThemeOffice2016 constant in 18.3.0
Date 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



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



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