Print Page | Close Window

How can I get the view in the pane?

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=3382
Printed Date: 12 December 2024 at 3:50am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How can I get the view in the pane?
Posted By: mqheather
Subject: How can I get the view in the pane?
Date Posted: 09 December 2005 at 1:40am

I create a pane with a view class , i want get the view in the pane! How can i do?

create dynamic pane with view class in the example, the frame can't get the view

 




Replies:
Posted By: Oleg
Date Posted: 09 December 2005 at 3:09am

Hi,

pPane->GetChild() will return CFrameWnd* class

pFrame->GetDescendantWindow(AFX_IDW_PANE_FIRST);
will return CView.



-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: mqheather
Date Posted: 06 January 2006 at 4:14am
Thank you



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