Print Page | Close Window

SkineFramework & xtpSkinApplyFrame

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


Topic: SkineFramework & xtpSkinApplyFrame
Posted By: gpm1
Subject: SkineFramework & xtpSkinApplyFrame
Date Posted: 22 June 2006 at 11:16am

Hello!

I’ve got some problems with SkineFramework and for example 2 CEditView.

 
Environment:

CJ ver. 10.2

MS VS 2005

 

I load skin like that (XTPSkinManager()->LoadSkin...) and set xtpSkinApplyFrame.

 

If you create 2 or more views (CEditView) with the same CDocument (Window->New Window) you can find inside of that view areas where actions on moving mouse are not correct. You can’t place a cursor by mouse in that areas and also moving the cursor while pressing button on the mouse it works like scrollbar. At the same time scroll itself are appeared in Window default colors.

 

In this case program snaps into the function

CXTPSkinObjectFrame::HitTestScrollBar(XTP_SKINSCROLLBARPOSINFO* pSBInfo, POINT pt) 
which return value  HTNOWHERE.

 

If I don’t set xtpSkinApplyFrame everything seems to by Ok.

Best regards,
Pavel



Replies:
Posted By: gpm1
Date Posted: 27 June 2006 at 5:19am
Just another thing:
You can create one View then resize it (resize view, not app) and in old place of of scroll there is an area which operates as scroll still in that place.


Posted By: gpm1
Date Posted: 08 September 2006 at 2:18am
Hi there,

In additional, it's appear only on Windows XP with turned on the Windows XP Theme, in Classic Theme it works correctly.


Posted By: Oleg
Date Posted: 08 September 2006 at 9:28am
Can you attach screenshot what you see?

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


Posted By: Oleg
Date Posted: 08 September 2006 at 10:12am

I guess you just need to add manifest file.



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


Posted By: gpm1
Date Posted: 08 September 2006 at 10:32am
It's in your example, just move child window a little to the right and in place where was scroll hold left button of the mouse and you coud scroll window

Example - SkinMDISample.exe


Posted By: gpm1
Date Posted: 08 September 2006 at 11:34am
Example - SkinMDISample.exe


Posted By: Oleg
Date Posted: 08 September 2006 at 12:51pm
Hello,
yes, I reproduced it. Thank you, fixing it for 10.3.1 release.


-------------
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