![]() |
[Bug] Drawing Bug |
Post Reply
|
| Author | ||
Simon HB9DRV
Senior Member
Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Quote Reply
Topic: [Bug] Drawing BugPosted: 19 September 2006 at 8:45am |
|
|
Picture (1): When the button below the View menu is pressed to display the bottom Logbook pane using m_paneManager.ShowPane(nID); part of the underlying application gets displayed on the control bar's drawing area.
Picture(2): This does not happen if the position of the pane is as shown here, only if as shown in picture (1). Note - it's the bottom Logbook pane which is being shown. The toolbar is a standard 16 x 16 with two high-res 24 bit BMP files (16 x 16 and 32 x 32) applied via SetIcons(). What additional information is required? Picture (1) Picture (2) |
||
|
Simon HB9DRV
|
||
![]() |
||
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 September 2006 at 3:26pm |
|
|
Hello,
As always it looks like clip styles. If it is SDI application, main view and frame must have WS_CLIPCHILDREN|WS_CLIPSIBLINGS styles.
|
||
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
![]() |
||
Simon HB9DRV
Senior Member
Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 September 2006 at 4:01pm |
|
|
It's MDI, I will try WS_CLIPCHILDREN|WS_CLIPSIBLINGS in CMainFrame::PreCreateWindow.
|
||
|
Simon HB9DRV
|
||
![]() |
||
Simon HB9DRV
Senior Member
Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Quote Reply
Posted: 19 September 2006 at 4:08pm |
|
|
Thanks
|
||
|
Simon HB9DRV
|
||
![]() |
||
Simon HB9DRV
Senior Member
Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 September 2006 at 9:30am |
|
|
I've upgraded to 10.3.1 - and get the problem again.
In my MDI App here are a few code segments, what am I doing wrong? ![]() ![]()
And
|
||
|
Simon HB9DRV
|
||
![]() |
||
Simon HB9DRV
Senior Member
Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 September 2006 at 10:32am |
|
|
Am trying to repduce with the Docking Pane Sample - wait until I either find a JockBug or a SimonBug
|
||
|
Simon HB9DRV
|
||
![]() |
||
Simon HB9DRV
Senior Member
Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 September 2006 at 10:49am |
|
|
I can reproduce this problem with the 10.3.1 GUI_Whidbey sample.
So - if you can get this tidied up I'll be amazed - I've tried your suggestion and failed, but you guys really know what you are doing. (Bet I could show you a thing or two with a nice VAX 11/780 though.) |
||
|
Simon HB9DRV
|
||
![]() |
||
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 September 2006 at 2:36pm |
|
|
|
||
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
![]() |
||
Simon HB9DRV
Senior Member
Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Quote Reply
Posted: 28 September 2006 at 5:18pm |
|
Good luck, any time this week will do .I just paid for next year's maintenance, well worth it. I'm glad I was able to reproduce the problem. |
||
|
Simon HB9DRV
|
||
![]() |
||
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 October 2006 at 4:26am |
|
|
Hello,
Here is diff
Not sure why SetRedraw was used before :( Trying to find what it can break.
|
||
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
![]() |
||
Simon HB9DRV
Senior Member
Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 October 2006 at 4:30am |
|
|
Many thanks - I will try this after lunch - am currently using your fine RTF tooltips
.
|
||
|
Simon HB9DRV
|
||
![]() |
||
Simon HB9DRV
Senior Member
Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 October 2006 at 5:13am |
|
Great - am using this in something I am writing, will not go live for about 6 weeks so I'll shout if I find related bugs. Well done! |
||
|
Simon HB9DRV
|
||
![]() |
||
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 October 2006 at 8:13am |
|
|
ok, thanks :)
|
||
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
||
![]() |
||
Simon HB9DRV
Senior Member
Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 October 2006 at 8:18am |
|
|
Just to be clear - it's working fine, I made the code changes and recompiled 10.3.1, I use .lib not .dll .
|
||
|
Simon HB9DRV
|
||
![]() |
||
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |