Print Page | Close Window

Problem with skinmanager

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=24259
Printed Date: 29 April 2024 at 8:53am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem with skinmanager
Posted By: shshin
Subject: Problem with skinmanager
Date Posted: 21 January 2022 at 5:05am

I recently updated to 20.2.0 (Toolkit Pro for Visual C++).

I’m using SkinManager. XTPSkinManager()->LoadSkin(L"Office2010.cjstyles");

MainFrame is captionless window and have multiple child windows. DoubleClick on the caption area or change the window size through the max button.

There is a problem that the newly drawn area is not drawn when the window size is changed after the update.

Even after changing the size, mainframe is drawn only with the size at the time of creation.

Child window is drawn only in ptMinTrackSize size.

There was no problem with 18.0.1. If no skin is applied, it works normally.

https://forum.codejock.com/uploads/9535/TestSkin.zip" rel="nofollow - uploads/9535/TestSkin.zip




Replies:
Posted By: shshin
Date Posted: 08 February 2022 at 1:50am
I found the problem.

void CXTPSkinObjectFrame::UpdateFrameRegion(CSize szFrameRegion)
// in v18, not in v20.2
      if (m_bRegionChanged && !HasWindowBorder())
{
SetWindowRgn(NULL, TRUE);
m_bRegionChanged = FALSE;
}



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