Help with CChildView
-
Hi, Firstly, I am new to MFC so any help appreciated. I am building a single document MFC application without Doc/View Architecture support. In my application I want to be able to show different CView subclasses such as CListView, CFormView instead of the CChildView. I need to change to different views by click of a button Tool bar. So how can I achieve this? I have looked on the forums and articles on this site and have found nothing on the subject. I appreciate any kind of help you can offer. :) Robert Buldoc
-
Hi, Firstly, I am new to MFC so any help appreciated. I am building a single document MFC application without Doc/View Architecture support. In my application I want to be able to show different CView subclasses such as CListView, CFormView instead of the CChildView. I need to change to different views by click of a button Tool bar. So how can I achieve this? I have looked on the forums and articles on this site and have found nothing on the subject. I appreciate any kind of help you can offer. :) Robert Buldoc
Hi, i do think that you must have to write a mdi application. Only mdi application can handle different types of view automatically. have a look @ Multiple Document Types, Views, and Frame Windows @ msdn Sujan
-
Hi, i do think that you must have to write a mdi application. Only mdi application can handle different types of view automatically. have a look @ Multiple Document Types, Views, and Frame Windows @ msdn Sujan
Thanks for the reply, I am thinking of getting the CWnd rect and using it as a place holder for other forms.