![]() |
Problem with skinmanager |
Post Reply ![]() |
Author | |
shshin ![]() Newbie ![]() Joined: 21 January 2022 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() 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. |
|
![]() |
|
shshin ![]() Newbie ![]() Joined: 21 January 2022 Status: Offline Points: 5 |
![]() ![]() ![]() ![]() ![]() |
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; }
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |