Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - [Fixed by Oleg] Drawing Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[Fixed by Oleg] Drawing Problem

 Post Reply Post Reply
Author
Message
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Topic: [Fixed by Oleg] Drawing Problem
    Posted: 07 April 2008 at 1:57pm
Look at the image below. On VISTA and XP when skinning is enabled I see the wrong drawing effect above the Add log Entry text.
 
I see this with most other Views but the effect is removed when the bars are redrawn.
 
Library version 11.1.3, compiled with VS 6.0 C++.
 
Any ideas? Thanks, Simon

 
Simon HB9DRV
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 April 2008 at 1:57am
Hi,
 
In 99% cases it related to WS_CLIPSIBLINGS|WS_CLIPCHILDREN styles. Be sure you have them for frame, view, child frame. etc.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 08 April 2008 at 3:57am
Originally posted by oleg oleg wrote:

Hi,
 
In 99% cases it related to WS_CLIPSIBLINGS|WS_CLIPCHILDREN styles. Be sure you have them for frame, view, child frame. etc.
 
CMainFrame, CXTPFrameWndBase<CMDIChildWnd>, CViews all have CLIPSIBLINGS|WS_CLIPCHILDREN applied in ::PreCreateWindow.
 
All dialogs and controls in panes have this set.
 
It's driving me mad - is there any way to find out which part of the code is doing this drawing?
Simon HB9DRV
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 08 April 2008 at 5:05am
Originally posted by oleg oleg wrote:

Hi,
 
In 99% cases it related to WS_CLIPSIBLINGS|WS_CLIPCHILDREN styles. Be sure you have them for frame, view, child frame. etc.
 
Which is the best Codejock MDI sample with toolbars, docking panes with dialogs in the panes?
Simon HB9DRV
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 08 April 2008 at 5:12am
Please look at this output, sorry about the size. Although I do apply the skin to the frame the effect I see is pretty much the same as below.
 
Jock 11.2.0, Windows XP.
 
Simon HB9DRV
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 11 April 2008 at 6:27am
Originally posted by Simon HB9DRV Simon HB9DRV wrote:

Please look at this output, sorry about the size. Although I do apply the skin to the frame the effect I see is pretty much the same as below.
 
Jock 11.2.0, Windows XP.
 
If / when you get time - not urgent but I'm sure someone else has the problem, maybe fixed in 12.0 or 12.0.1 ?
 
Simon HB9DRV
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: 11 April 2008 at 7:43am
Hi, try to remove xtpSkinApplyMetrics option.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 11 April 2008 at 8:25am
Originally posted by oleg oleg wrote:

Hi, try to remove xtpSkinApplyMetrics option.
 
OK - I *think* the bug is in Codejock, if I do not have Metrics then it's OK in my code and in the SkinMDISample.
 
Any chance of a fix in 12.0 or 12.0.1 ?
Simon HB9DRV
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 11 April 2008 at 8:29am
Originally posted by Simon HB9DRV Simon HB9DRV wrote:

Originally posted by oleg oleg wrote:

Hi, try to remove xtpSkinApplyMetrics option.
 
OK - I *think* the bug is in Codejock, if I do not have Metrics then it's OK in my code and in the SkinMDISample.
 
Any chance of a fix in 12.0 or 12.0.1 ?
 
BTW - this doesn't happen for all skins.
Simon HB9DRV
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 05 December 2008 at 3:36am
Oleg,
 
Was this fixed in the latest release? My subscription expired in October and I think the reminder mail from COdejock was eaten by my SPAM filter.
 
If this bug is fixed I'll renew my support contract.
Simon HB9DRV
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: 05 December 2008 at 3:49am
Hi,
 
I can't reproduce it with 12.1.1. - Please download evaluation version and check - because seems I wasn't able to reproduce it wih 11.2 too :(
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 28 February 2009 at 1:21pm
Still present in version 13.0.0.
 
I can give you access to my computer using VNC if you want.
 
I simply downloaded 13.0.0 ebaluation, compiled, ran.
Simon HB9DRV
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: 02 March 2009 at 12:52am
Hi,
 
Please open new issue in issuetrack. Will be easy discuss it.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 02 March 2009 at 3:34am
Originally posted by oleg oleg wrote:

Hi,
 
Please open new issue in issuetrack. Will be easy discuss it.
Oleg,
 
What's the URL for issue tracking?
Simon HB9DRV
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 02 March 2009 at 4:25am
I've submitted the problem using http://codejock.com/support/
 
Good luck - I'll help as much as I can.
Simon HB9DRV
Back to Top
Simon HB9DRV View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 July 2005
Location: Switzerland
Status: Offline
Points: 458
Post Options Post Options   Thanks (0) Thanks(0)   Quote Simon HB9DRV Quote  Post ReplyReply Direct Link To This Post Posted: 09 March 2009 at 9:06am
Originally posted by Simon HB9DRV Simon HB9DRV wrote:

Look at the image below. On VISTA and XP when skinning is enabled I see the wrong drawing effect above the Add log Entry text.
 
I see this with most other Views but the effect is removed when the bars are redrawn.
 
Library version 11.1.3, compiled with VS 6.0 C++.
 
Any ideas? Thanks, Simon
 
Fixed by Oleg - many thanks for the great support, we did this using a standard support ticket, as soon as Oleg could reproduce the problem he fixed it.
Simon HB9DRV
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.172 seconds.