Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Docking Pane goes under TabView !!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Docking Pane goes under TabView !!

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


Joined: 10 September 2005
Location: Iran
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote mehran20 Quote  Post ReplyReply Direct Link To This Post Topic: Docking Pane goes under TabView !!
    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:

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

Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 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
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.047 seconds.