Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - ShowPane when opening a dialog box
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ShowPane when opening a dialog box

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


Joined: 25 May 2004
Location: Israel
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Irisz Quote  Post ReplyReply Direct Link To This Post Topic: ShowPane when opening a dialog box
    Posted: 25 May 2004 at 2:08am

Hi,

I'm using the method ShowView of CXTPDockingManager. I opens a Modal dialog box just after that:

void CMainFrame::OnGo()

{

CXTPDockingPane* pPane = m_paneManager.FindPane(1);

m_paneManager.ShowPane(pPane);

CMyDialog aDlg;

aDlg.DoModal();

}

My problem is that the Pane becomes visible only after the dialog-box is closed (even though the call to ShowPane was first). I must have the Pane visible when the modal dialog is alive. How can I do it ?

thanks, Iris.

Back to Top
Ark42 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 20 October 2003
Status: Offline
Points: 291
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ark42 Quote  Post ReplyReply Direct Link To This Post Posted: 25 May 2004 at 1:24pm

RecalcLayout (?)
Back to Top
Irisz View Drop Down
Newbie
Newbie


Joined: 25 May 2004
Location: Israel
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Irisz Quote  Post ReplyReply Direct Link To This Post Posted: 27 May 2004 at 1:11am

it works, thanks.

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.