Print Page | Close Window

10.4 + Ribbon + Skin = MDIChild drawing issues

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=5984
Printed Date: 12 November 2025 at 12:54am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: 10.4 + Ribbon + Skin = MDIChild drawing issues
Posted By: eridu
Subject: 10.4 + Ribbon + Skin = MDIChild drawing issues
Date Posted: 04 January 2007 at 10:14am
WinXP and VS6. Take the RibbonMDISample and add skin with
 
XTPSkinManager()->LoadSkin(_T("styles\\Office2007.cjstyles"));
 
then run it, enter a few lines of text, maximize the MDI child and resize the app. As the MDI child repaints and you lose the top 1cm or so of the window. This was not an issue in 10.3.1.
 



Replies:
Posted By: eridu
Date Posted: 04 January 2007 at 11:00am
However - Loading the skin after the MainFrame has been created or setting SetAutoApplyNewWindows(FALSE) during mainframe creation gets around this problem.


Posted By: Oleg
Date Posted: 04 January 2007 at 2:43pm
Thank you, will be fixed for first maintaince reelase.
 
As worksaround add
 
 XTPSkinManager()->Remove(m_hWnd);
 XTPSkinManager()->Remove(m_hWndMDIClient);
in first lines of CMainFrame::OnCreate


-------------
Oleg, Support Team
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