Print Page | Close Window

SOLVED: Scintilla and auto hide docking panes

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=16521
Printed Date: 31 January 2025 at 3:56am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: SOLVED: Scintilla and auto hide docking panes
Posted By: mgampi
Subject: SOLVED: Scintilla and auto hide docking panes
Date 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 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



Replies:
Posted By: mgampi
Date Posted: 08 April 2010 at 8:43am
Really no ideas?? 

-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022


Posted By: Smucker
Date 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)



Posted By: mgampi
Date Posted: 08 April 2010 at 10:45am
Yes, I did (see my initial post)

-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022


Posted By: Smucker
Date 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)



Posted By: mgampi
Date 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 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net