Print Page | Close Window

Ribbon themes still not working

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=22817
Printed Date: 05 October 2024 at 5:24am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Ribbon themes still not working
Posted By: terrym
Subject: Ribbon themes still not working
Date Posted: 12 December 2015 at 7:50pm
I am using Windows 10 Pro with Visual Studio 2015 Pro and all was working fine except Ribbon Themes still do not work.  We have upgraded to 17.0 (C++ MFC) from 10.4.2 (C++ MFC).  All worked before the upgrade, any pointers as to what has changed since?

-------------
Thank you,
Terry Mancey

email terry@tmancey.ltd.uk | linkedin www.tmancey.ltd.uk | twitter @tmancey



Replies:
Posted By: xang
Date Posted: 13 December 2015 at 10:19am
+1 for this. VS2015 Theme on Ribbon (Light, Dark, Blue) Not working.

We get broken theme.


-------------
Product: Xtreme Toolkit Pro (MFC) version 18.0.1 (with 1-year maintenance)
Platform: Windows 10 RS2 (x64)
Language: Visual C++


Posted By: kstowell
Date Posted: 13 December 2015 at 2:35pm
Originally posted by terrym terrym wrote:

I am using Windows 10 Pro with Visual Studio 2015 and all working fine with exception Ribbon Themes still do not work.
I just checked the Calendar Sample with v17 Release Candidate and I don't notice any issues with the Visual Studio 2015 Ribbon:



Make sure you are loading the resource DLL as the first step before you set any themes.

You can use the built in CXTPThemeDll manager and pass in the INI file name constant located in "Source\Common\XTPResourceImage.h".

This will automate loading the resource DLL's for you, for example: 
XTPThemeDLL()->SetHandle(xtpIniVisualStudio2015Dark); // always load theme DLL first.
CXTPPaintManager::SetTheme(xtpThemeVisualStudio2015);


-------------
Kirk Stowell, President and CEO
CODEJOCK SOFTWARE SOLUTIONS<


Posted By: xang
Date Posted: 15 December 2015 at 7:53am





-------------
Product: Xtreme Toolkit Pro (MFC) version 18.0.1 (with 1-year maintenance)
Platform: Windows 10 RS2 (x64)
Language: Visual C++



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