Print Page | Close Window

Adding a view to a Child frame

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: General Discussion
Forum Description: Topics Related to Visual C++ MFC Development in General
URL: http://forum.codejock.com/forum_posts.asp?TID=22561
Printed Date: 24 April 2024 at 6:31pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Adding a view to a Child frame
Posted By: jdugan
Subject: Adding a view to a Child frame
Date Posted: 19 March 2015 at 8:26pm
Hello,
 
I have an application that uses codejock and has a child frame with 2 toolbars at the top of the frame.
Then under those two toolbars is another toolbar control that is docked to the left.
Our current implementation then takes the rectangle area left over to the lower right quadrant and uses a CRect and open gl to display data in a scatter plot.
I am trying to use the RadarAreaView example CView object and add it to the ChildFrame where the open gl display used to reside.
I am having no luck in trying to use AddView to the document and I've been researching and looking for a way to add it to that frame with no luck.
How does one add a CView object like Radar Area view to the child frame.
There is a docking pane and I've looked for ways to add it that way, but, with no success.
Any suggestions or a pointer to some sample code would be great.
 


-------------
Thanks,

Jeff



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