Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Possible Drawing Bug
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Possible Drawing Bug

 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: Possible Drawing Bug
    Posted: 19 March 2007 at 7:32am
When using skins I am sometimes getting blue lines drawn on my toolbars ahen the view is activated (see below).

As soon as I press Alt the bar is removed except when drawn over disabled controls.
 
Am I missing a CommandBars flag / setting / something?

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: 19 March 2007 at 8:58am
Hi,
hmm looks like caption of frame. I will try to reproduce it, if you will understand how to reproduce it, please let me know.
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: 19 March 2007 at 9:14am
Originally posted by oleg oleg wrote:

Hi,
hmm looks like caption of frame. I will try to reproduce it, if you will understand how to reproduce it, please let me know.
Hi,
 
Sorry - I don't know how to reproduce this 100%.

The colour is not the same as the colour of the frame (see below) it is always blue - the colour selected in XP and used for inactive frames, also I am sure it's not me causing this as it's two different views - one CView where i draw everything, the other based on your IE sample.
 
If I don't use skinning then it's OK.
 
The line is drawn when the maximised frame becomes active and the view is drawn for the first time after the activation. As long as the frame remains active it is never redrawn, resizing the whole application causes the toolbar to be redrawn (as expected) and the line is no longer shown.

It is also drawn when a maximised frame is active and I select Cascade from the Window menu.

If the frame is not the active frame and I select Cascade then it is not drawn.


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: 19 March 2007 at 9:17am
Originally posted by oleg oleg wrote:

Hi,
hmm looks like caption of frame. I will try to reproduce it, if you will understand how to reproduce it, please let me know.
Bit more info - I have 5 doc/views and this only happens on two of them, this evening I will try to find out where the difference lies - maybe something different in the OnCreate() member of the frame..

I can provide any source, the whole is very massive though.
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.152 seconds.