Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > General Discussion
  New Posts New Posts RSS Feed - Adding a view to a Child frame
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Adding a view to a Child frame

 Post Reply Post Reply
jdugan View Drop Down

Joined: 19 March 2015
Location: Denver
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote jdugan Quote  Post ReplyReply Direct Link To This Post Topic: Adding a view to a Child frame
    Posted: 19 March 2015 at 8:26pm
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.

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

This page was generated in 0.094 seconds.