Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - SkineFramework & xtpSkinApplyFrame
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SkineFramework & xtpSkinApplyFrame

 Post Reply Post Reply
Author
Message
gpm1 View Drop Down
Groupie
Groupie
Avatar

Joined: 06 June 2006
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote gpm1 Quote  Post ReplyReply Direct Link To This Post Topic: SkineFramework & xtpSkinApplyFrame
    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
Back to Top
gpm1 View Drop Down
Groupie
Groupie
Avatar

Joined: 06 June 2006
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote gpm1 Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
gpm1 View Drop Down
Groupie
Groupie
Avatar

Joined: 06 June 2006
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote gpm1 Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 08 September 2006 at 9:28am
Can you attach screenshot what you see?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 08 September 2006 at 10:12am

I guess you just need to add manifest file.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
gpm1 View Drop Down
Groupie
Groupie
Avatar

Joined: 06 June 2006
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote gpm1 Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
gpm1 View Drop Down
Groupie
Groupie
Avatar

Joined: 06 June 2006
Status: Offline
Points: 54
Post Options Post Options   Thanks (0) Thanks(0)   Quote gpm1 Quote  Post ReplyReply Direct Link To This Post Posted: 08 September 2006 at 11:34am
Example - SkinMDISample.exe
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.031 seconds.