Print Page | Close Window

[solved] V17.1 Malformed skinnings

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


Topic: [solved] V17.1 Malformed skinnings
Posted By: iamgtd
Subject: [solved] V17.1 Malformed skinnings
Date Posted: 22 February 2016 at 3:04am
With the new update 17.1 happens curious appereances. The skinning produces in textboxes, comboboxes and other controls random dots, lines, shifted characters.

This behaviour can be tested with the original Codejock sample program SkinControls. I have tested it with the C#- and the VB6 projects.
Instruction: In the sample project switch between various skins and see the effects. There are not always the same effects, the malformation switches. I have it labeled with red frames in the screenshots.

I have it tested also on Win10 64-Bit and Visual Studio 2013, there are also malformations. But they look a little bit different.

Please, can somebody also test this behaviour?





-------------
---------

OS: Win 10 64 bit

Codejock Version 22.1 ActiveX

MS Visual Studio 2022 - C#

---------



Replies:
Posted By: Marco1
Date Posted: 22 February 2016 at 4:26am
Can't confirm this for C++ version.
Tested with c++ 17.1.0 on VS2015 SP1



-------------
Product: XTP 18.3.0 on VS 2017
Platform: VS 2017 / Windows 10 (64bit)


Posted By: MarkusA
Date Posted: 22 February 2016 at 4:57am
Hello,

we have the same issues here with the C++ Version. These issues are visible in the SkinControls-Sample as well in our Product.

We are using Visual Studio 2010 (newest SP) with MFC.



If I import the File Office2007.cjstyles in your SkinBuilder I can also see these issues:


Btw: The drawing errors reported in this post are fixed in 17.1.0: http://forum.codejock.com/forum_posts.asp?TID=22750&PID=74131&title=problems-with-beta3#74131

Greetings
MarkusA



Posted By: olebed
Date Posted: 07 March 2016 at 1:26pm
Hi all,

I'm glad to inform you that the reason of this issue was found. We need some time for testing.
The fix will be available in the next beta or final release.

Regards,
 Oleksandr Lebed


Posted By: xczhang1
Date Posted: 23 March 2016 at 9:43am
Why does the bottom of textbox text get cut off when a skin has been applied?
See screenshot of SkinMDISample running with Codejock Skin in Windows 7


Posted By: olebed
Date Posted: 05 May 2016 at 3:12pm
Hi all,

I'm glad to inform you that the reason of other issue with undesirable transparent  borders around ListView and TreeView was found.

The reason was in WS_BORDER style of 
ListView and TreeView. As hot fix you can set it to false (property BorderStyle to "0 - ccNone").

In code it is in method 
CXTPSkinManagerSchema::DrawNonClientRect(), 
     else if ((dwStyle & WS_BORDER) && !(dwStyle & WS_DLGFRAME))
   {
       int nSize = GetMetrics()->m_nBorderSize;
       COLORREF crColor = GetColor(pFrame->IsActive() ? COLOR_ACTIVEBORDER : COLOR_INACTIVEBORDER);
       XTPSkinFrameworkDrawFrame(pDC->GetSafeHdc(), rcFrame, nSize, crColor);
       rcFrame.DeflateRect(nSize, nSize);  //<<<<<  added
   }
The fix will be available in the next beta or final release.

Regards,
 Oleksandr Lebed



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