Print Page | Close Window

ShowPane when opening a dialog box

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=782
Printed Date: 04 December 2024 at 2:18pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: ShowPane when opening a dialog box
Posted By: Irisz
Subject: ShowPane when opening a dialog box
Date 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.




Replies:
Posted By: Ark42
Date Posted: 25 May 2004 at 1:24pm

RecalcLayout (?)


Posted By: Irisz
Date Posted: 27 May 2004 at 1:11am

it works, thanks.




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