Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - SOLVED: Scintilla and auto hide docking panes
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SOLVED: Scintilla and auto hide docking panes

 Post Reply Post Reply
Author
Message
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: SOLVED: Scintilla and auto hide docking panes
    Posted: 26 March 2010 at 5:55am
Hi;

I've a Scintilla window included in a CSplitterWnd as child of my main frame.
Whenever a autohide docking pane is shown, parts of the docking window are not drawn correctly, the background of the Scintilla control looks through.
Also when I click into the Sscintilla control while the auto hide docking window is visible, Scintilla draws into the docking pane just before the pane automatically hides again.
I set WS_CLIPCHILDREN|WS_CLIPSIBLINGS in all af the windows (mainframe, edit, docking window) but no change in behaviour can be seen.

I don't know what I can do no . Any help is very welcome!


Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 08 April 2010 at 8:43am
Really no ideas?? 
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
Smucker View Drop Down
Senior Member
Senior Member
Avatar

Joined: 02 February 2008
Status: Offline
Points: 156
Post Options Post Options   Thanks (0) Thanks(0)   Quote Smucker Quote  Post ReplyReply Direct Link To This Post Posted: 08 April 2010 at 10:08am
Just a guess, but did you set the styles WS_CLIPCHILDREN|WS_CLIPSIBLINGS in the Scintilla window too?
Product: Xtreme Toolkit Pro version 13.2 (Unicode, static build)

Platform: Windows 200x/XP/Vista/Win7 (32/64 bit)

Language: Visual C++ 9.0 (Studio 2008)

Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 08 April 2010 at 10:45am
Yes, I did (see my initial post)
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
Smucker View Drop Down
Senior Member
Senior Member
Avatar

Joined: 02 February 2008
Status: Offline
Points: 156
Post Options Post Options   Thanks (0) Thanks(0)   Quote Smucker Quote  Post ReplyReply Direct Link To This Post Posted: 08 April 2010 at 11:23am
I did see that, but you mentioned the docking window but not the Scintilla child within it (oops, I guess that was the "edit" window).

You may also want to use Spy++ to look at the window hierarchy see if Scintilla has more windows than you expect, and verify that the Scintalla window(s) are actually children (not just owned).

You can also use Spy++ to verify that Scintilla isn't clearing the clipping flags.

Product: Xtreme Toolkit Pro version 13.2 (Unicode, static build)

Platform: Windows 200x/XP/Vista/Win7 (32/64 bit)

Language: Visual C++ 9.0 (Studio 2008)

Back to Top
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Posted: 09 April 2010 at 9:32am
Hi;

I solved it!
The tab control is embedded inside a splitter window and this had not applied the WS_CLIPxxx styles.

Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
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.141 seconds.