Print Page | Close Window

Code Crashed when apply VS12 theme to Ribbon Panel

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Skin Framework
Forum Description: Topics Related to Codejock Skin Framework
URL: http://forum.codejock.com/forum_posts.asp?TID=22337
Printed Date: 02 May 2024 at 4:49pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Code Crashed when apply VS12 theme to Ribbon Panel
Posted By: mpsingh
Subject: Code Crashed when apply VS12 theme to Ribbon Panel
Date Posted: 24 June 2014 at 9:16am
Hello everyone,


I tried to apply Visual Studio 2012 theme on "RibbonMDISample"  project of CodeJock 16.3.0 but the application got crashed.
Here are the steps I followed:- 

1> First I had created "CXTPModuleHandle m_hModule2012" variable in 'RibbonMDISample.h'.

2> After that I called "m_hModule2012.LoadLibrary(strStylesPath + _T("VisualStudio2012.dll"))" function in the same file.

3> Then I set the theme by using "SetCommandBarsTheme(xtpThemeOffice2013, theApp.m_hModule2012, _T("VisualStudio2012Dark.INI"));"function in 'MainFrm.Cpp'.

4> But when I run the code, application got crashed.


Could you please help me on this issue ? Please let me know the cause of the crash, and how I can get it fixed.

Thank and Regards.



Replies:
Posted By: kstowell
Date Posted: 26 June 2014 at 3:27pm
Can you try this in 16.3.1 and let us know if the problem has been corrected?  Thanks!

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



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