Print Page | Close Window

Docking Pane goes under TabView !!

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=2872
Printed Date: 08 November 2025 at 9:49pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Docking Pane goes under TabView !!
Posted By: mehran20
Subject: Docking Pane goes under TabView !!
Date Posted: 10 September 2005 at 11:40pm

Hi,

Well my situation is a little bit hard to explain, so I preferred to take a snap shot of it and you can get it from here:

http://forum.codejock.com/uploads/mehran20/2005-09-10_233221_printscreen.zip - 2005-09-10_233221_printscreen.zip

As you can see in the image, the TabView title bar and the view window inside of the tab are drawn above the view inside of the DockingPane. I have tried so many ways to fix it but I couldn't. All the view windows are children of the mainframe and I tried to bring up the view inside of the pane to the front by making it WS_EX_TOPMOST but it didn't work.

And the picture you see in the image file is a live picture captured from my webcam through DirectShow facilities. It suppose to be in the tab view below the docking pane.

I know these information are not enough for you to help me, but please don't let me down I really need it. Thanks.

Mehran Ziadloo




Replies:
Posted By: Oleg
Date Posted: 11 September 2005 at 3:32am

Try to add clipping 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;
}



-------------
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