|  | 
| SOLVED: Scintilla and auto hide docking panes | 
| Post Reply   | 
| Author | |
| mgampi   Senior Member     Joined: 14 July 2003 Status: Offline Points: 1210 |  Post Options  Thanks(0)  Quote  Reply  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 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 | |
|  | |
| mgampi   Senior Member     Joined: 14 July 2003 Status: Offline Points: 1210 |  Post Options  Thanks(0)  Quote  Reply  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 | |
|  | |
| Smucker   Senior Member     Joined: 02 February 2008 Status: Offline Points: 156 |  Post Options  Thanks(0)  Quote  Reply  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) | |
|  | |
| mgampi   Senior Member     Joined: 14 July 2003 Status: Offline Points: 1210 |  Post Options  Thanks(0)  Quote  Reply  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 | |
|  | |
| Smucker   Senior Member     Joined: 02 February 2008 Status: Offline Points: 156 |  Post Options  Thanks(0)  Quote  Reply  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) | |
|  | |
| mgampi   Senior Member     Joined: 14 July 2003 Status: Offline Points: 1210 |  Post Options  Thanks(0)  Quote  Reply  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 | |
|  | |
| 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 |