|
-
April 14th, 1999, 09:09 PM
#1
Derving view from CListView
Hello,
I am a beginner to DOC/VIEW as you will soon see. However, I am trying to figure out how to make my view class be derived from CListView. I have made a default SDI from AppWizard and it generates the view to be derived from CView. What is the easiest way to make this be a CListView?
Thanks,
Eric
-
April 15th, 1999, 03:07 AM
#2
Re: Derving view from CListView
When you create a MFC project with MFC AppWizard, you can change the Base Class in Step 6. On the base class combobox choose the CListView as your base class and your view will be derived from it.
-
April 15th, 1999, 05:42 AM
#3
Re: Derving view from CListView
If you've already generated your app, do a search and replace, replacing CView with CListView throughout. Don't forget to include afxcview.h in your view header.
Dave
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|