Print Page | Close Window

Painting Problem

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=3371
Printed Date: 12 December 2024 at 3:53am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Painting Problem
Posted By: yannick
Subject: Painting Problem
Date Posted: 08 December 2005 at 2:33am

Hi I Have a problem with a DockingPane in my C++ SDI Project.

the main View (CView) containt a XTPTabCtrl

When the Pane is expanded there is a painting problem between the pane

and the MainView

See the picture.

 

Please Is SomeBody can Hel me?

If you want to test, insert a pane in the mainframe of the codejoke sample GUI_WinZip

 

 

 




Replies:
Posted By: Oleg
Date Posted: 08 December 2005 at 3:06am

Why nobody use search....

 

For SDI application you must add clkipping styles:

 


BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
 // TODO: Modify the Window class or styles here by modifying
 //  the CREATESTRUCT cs

 if( !CFrameWnd::PreCreateWindow(cs) )
  return FALSE;

 cs.style |= WS_CLIPCHILDREN|WS_CLIPSIBLINGS;

 return TRUE;
}

and add it also for View class.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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