Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Ribbon themes still not working
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Ribbon themes still not working

 Post Reply Post Reply
Author
Message
terrym View Drop Down
Senior Member
Senior Member


Joined: 13 April 2007
Status: Offline
Points: 836
Post Options Post Options   Thanks (0) Thanks(0)   Quote terrym Quote  Post ReplyReply Direct Link To This Post Topic: Ribbon themes still not working
    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
Back to Top
xang View Drop Down
Groupie
Groupie


Joined: 01 January 2013
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote xang Quote  Post ReplyReply Direct Link To This Post 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++
Back to Top
kstowell View Drop Down
Admin Group
Admin Group


Joined: 25 January 2003
Location: MIchigan, USA
Status: Offline
Points: 496
Post Options Post Options   Thanks (0) Thanks(0)   Quote kstowell Quote  Post ReplyReply Direct Link To This Post 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<
Back to Top
xang View Drop Down
Groupie
Groupie


Joined: 01 January 2013
Status: Offline
Points: 36
Post Options Post Options   Thanks (0) Thanks(0)   Quote xang Quote  Post ReplyReply Direct Link To This Post 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++
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.234 seconds.