Print Page | Close Window

Problem with buildin themeVisualStudio2012

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=21733
Printed Date: 19 April 2024 at 2:01pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem with buildin themeVisualStudio2012
Posted By: brackeeric
Subject: Problem with buildin themeVisualStudio2012
Date Posted: 21 June 2013 at 5:52am
Hi,
 
I just installed version 16.2.0, upgrading from 15.3.1.
When I select the VisualStudio2012 or Office2013 themes, the panel top part is turning black (see screenshots). When I select any other theme, everything is fine.
 
Any idea how to get this to work ?
All help is welcome :)
 
Thanks in advance,
Eric
 
 
Theme problem



Replies:
Posted By: SuperMario
Date Posted: 21 June 2013 at 3:16pm
IMPORTANT: The old Office 2007 theme embedded resources have been removed from the OCX. You must now make sure you load the styles DLL BEFORE you set the resource or ribbon themes

http://www.codejock.com/products/release_notes.asp?cyn6s14z=p1z" rel="nofollow - http://www.codejock.com/products/release_notes.asp?cyn6s14z=p1z  


Posted By: PhilM
Date Posted: 24 June 2013 at 5:21am
Ours shows black as well with VS 2012 or Office 2013 styles. We have always loaded the style DLL before setting the theme so it's not that.

Is there something wrong with the DLL files? They are very small in comparison to the old ones, Office2010.dll is 1420kb where as Office2013.dll is 44kb and VisualStudio2012.dll is 25kb.

Also if you run the Skin builder program and import the Windows8.cjstyles file it looks like this which is the same effect:-




-------------
Product: Xtreme SuitePro (ActiveX) version 17.3.0

Platform: Windows 10 / Windows 7

Language: Openedge 11.6



Posted By: brackeeric
Date Posted: 28 June 2013 at 11:34am
Hi,
 
Can you explain how to load the resource DLLs before?
I found this:
DockingPaneGlobalSettings.ResourceThemeImages.LoadFromFile App.Path & "\..\..\..\Styles\Office2010.dll,Office2010Black.ini"
DockingPaneManager.VisualTheme = ThemeResource
 
but intellisence doesn't shows ResourcethemImages when using DockingPaneGlobalSettings in editor, neither I can find a INI file.
 
screenshot:
 
 
do I need to set a reference to a library first ?
 
 


Posted By: PhilM
Date Posted: 28 June 2013 at 11:50am
I believe their help file is out of date, the "ResourceThemeImages" property has been replaced by "ResourceImages".

From my investigations into using office2013.dll, it doesn't work with ThemeResource, you have to use the in built 2013 theme. The 2010 DLL works OK with ThemeResource though.



-------------
Product: Xtreme SuitePro (ActiveX) version 17.3.0

Platform: Windows 10 / Windows 7

Language: Openedge 11.6



Posted By: PhilM
Date Posted: 27 February 2014 at 10:15am
This is still a problem Dead

-------------
Product: Xtreme SuitePro (ActiveX) version 17.3.0

Platform: Windows 10 / Windows 7

Language: Openedge 11.6




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