Print Page | Close Window

Bug - Floating Panes & Skins

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=7902
Printed Date: 27 September 2024 at 10:05am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Bug - Floating Panes & Skins
Posted By: Simon HB9DRV
Subject: Bug - Floating Panes & Skins
Date Posted: 30 August 2007 at 8:22am
Take the Docking Panes/Pane Sample, apply a skin (add the code to do this). In my case:
CString CMainFrame::GetStylesPath()
{
    ....
}

 XTPSkinManager()->LoadSkin(GetStylesPath() + _T("WinXP.Royale.cjstyles"), _T("NormalRoyale.INI"));
Now float a couple of panes (2 and 5).
 
Save layout to a file (Docking Pane / Loyout / Save To File).
 
Load this file - the floating panes lose a few pixels of their height.
 
Very easy to reproduce  .


-------------
Simon HB9DRV



Replies:
Posted By: Oleg
Date Posted: 03 September 2007 at 7:07am
Hi,
Do you call LoadSkin in constructor of CMainFrame ?


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Simon HB9DRV
Date Posted: 04 September 2007 at 8:49am
Originally posted by oleg oleg wrote:

Hi,
Do you call LoadSkin in constructor of CMainFrame ?
 
Not in the constructor, in CMainFrame::OnCreate after panes have been created.


-------------
Simon HB9DRV


Posted By: Simon HB9DRV
Date Posted: 04 September 2007 at 8:52am
I tried the constructor - still the same problem.
 
I'll ZIP the whole project for you if that helps - it's your sample with skins added.
 
It's an annoying bug but I can live with it, howveer I'm sure you will want to fix it (or fix me).
 


-------------
Simon HB9DRV


Posted By: Simon HB9DRV
Date Posted: 04 September 2007 at 9:31am
The full project (your modified sample)

http://www.ham-radio.ch/kits/tmp/PaneSample.zip - http://www.ham-radio.ch/kits/tmp/PaneSample.zip

Any questions just shout!


-------------
Simon HB9DRV


Posted By: Oleg
Date Posted: 04 September 2007 at 1:28pm
Hi,
 
Thanks. Fixed for 11.2


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Simon HB9DRV
Date Posted: 04 September 2007 at 1:54pm
Thanks Oleg, I knew it was easy :-)

-------------
Simon HB9DRV



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