Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - [Solved] MDI child
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[Solved] MDI child

 Post Reply Post Reply
Author
Message
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Topic: [Solved] MDI child
    Posted: 12 October 2010 at 5:07pm
I would like to use the docking pane manager for a tabbed MDI window, because this also allows to re-arange the panes and have them side-by-side.

a) How can I remove the view? I want the panes to occupy the whole client area.

b) How can I remove the pane title?

c) How can I change the tab position to the top?

d) How can I prevent the docking panes from floating? I only want them inside the MDI child frame.
xtpPaneNoFloatable



Codejock support
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 12 October 2010 at 5:24pm
xtpPaneNoCaption doesn't really work.
Is it possible to show the tabs always (even if there is only 1)?







Codejock support
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: 13 October 2010 at 1:09am
Hi,

Seems just TabControl can work for you
check Samples\ToolkitPro\TabbedView 


Here some hints if you plan use DockingPanes anyway:

CXTPDockingPanePaintManager::m_bDrawSingleTab
CXTPDockingPaneManager::HideClient()
CXTPDockingPanePaintManager::GetTabPaintManager()->SetPosition(xtpTabPositionTop)
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 13 October 2010 at 6:38am
Originally posted by oleg oleg wrote:

Here some hints if you plan use DockingPanes anyway:

CXTPDockingPanePaintManager::m_bDrawSingleTab
CXTPDockingPaneManager::HideClient()
CXTPDockingPanePaintManager::GetTabPaintManager()->SetPosition(xtpTabPositionTop)


Thanks Oleg, that did what I need. I think docking panes are much better than just a tab control.







Codejock support
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.188 seconds.