Print Page | Close Window

Document/View Question

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=2917
Printed Date: 04 May 2024 at 4:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Document/View Question
Posted By: RobbieP
Subject: Document/View Question
Date Posted: 19 September 2005 at 3:21pm
I've been looking at several Codejock samples that feature embedded Caption bars and/or embedded Toolbars in a View-type class.  There seem to be several ways to implement this, but the newest sample, DockingContainers, uses several View-type classes.  But, these View-type classes don't inherit off of CView, but off of a class named CPaneView, which is apparently a roll-your-on CView-type class derived directly from CWnd.

My question:  is this Codejock's architectural recommendation, to do fancy Views this way?  Is there some good reason not to inherit off of CView?

Thanks,
Robbie Peele
Management Cybernetics




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