Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Painting Problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Painting Problem

 Post Reply Post Reply
Author
Message
yannick View Drop Down
Newbie
Newbie


Joined: 07 September 2005
Location: France
Status: Offline
Points: 6
Post Options Post Options   Thanks (0) Thanks(0)   Quote yannick Quote  Post ReplyReply Direct Link To This Post Topic: Painting Problem
    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

 

 

 

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
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.094 seconds.