Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Docking pane question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Docking pane question

 Post Reply Post Reply
Author
Message
yoavo View Drop Down
Senior Member
Senior Member


Joined: 29 February 2004
Location: Israel
Status: Offline
Points: 140
Post Options Post Options   Thanks (0) Thanks(0)   Quote yoavo Quote  Post ReplyReply Direct Link To This Post Topic: Docking pane question
    Posted: 28 May 2006 at 9:29am

Hi,

I have an SDI application with 3 panes (which I create by using CXTPDockingPaneManager::CreatePane). Two of the panes are docked to the left (one is on top of the other), and the 3rd is docked to the right.

I need that the view will not be seen at all (the panes should cover all the client area). In other words, I need the panes 1/2 and pane 3 will have a common vertical splitter.

How do I do it ?

Yoav.

Back to Top
hpesata View Drop Down
Groupie
Groupie


Joined: 16 July 2004
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote hpesata Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 2006 at 4:32am
Hi!

did you try CXTPDockingPaneManager->HideClient(TRUE) method ?

regards,
Hans

Back to Top
yoavo View Drop Down
Senior Member
Senior Member


Joined: 29 February 2004
Location: Israel
Status: Offline
Points: 140
Post Options Post Options   Thanks (0) Thanks(0)   Quote yoavo Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 2006 at 6:31am

Hi,

I tried your suggestion (call HideClient). Now the panes and splitters behaves exactelly as I want, but the problem is that their content (the dialogs that in each pane) are gone, and I see only grey in each pane.

Back to Top
hpesata View Drop Down
Groupie
Groupie


Joined: 16 July 2004
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote hpesata Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 2006 at 8:12am
Hi!

looks like this is another problem, do you attach your windows/dialogs to your panes within the appropriate XTP_DPN_SHOWWINDOW handler ?

regards,
Hans

Back to Top
yoavo View Drop Down
Senior Member
Senior Member


Joined: 29 February 2004
Location: Israel
Status: Offline
Points: 140
Post Options Post Options   Thanks (0) Thanks(0)   Quote yoavo Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 2006 at 9:20am

yes, I attach my dialogs to the panes in XTP_DPN_SHOWWINDOW handler.

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: 31 May 2006 at 9:27am

Hi, send project to issuetrack/here. May be forgot some obvious things like WS_CHILD style for dialog etc...

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
yoavo View Drop Down
Senior Member
Senior Member


Joined: 29 February 2004
Location: Israel
Status: Offline
Points: 140
Post Options Post Options   Thanks (0) Thanks(0)   Quote yoavo Quote  Post ReplyReply Direct Link To This Post Posted: 04 June 2006 at 3:19am

Sorry, my bad...

I called HideClient method after creating the panes. If I call it before creating the panes, it works great !!

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.172 seconds.