Solved

Why MFC non virtual

Posted on 2004-08-24
1
206 Views
Last Modified: 2013-11-20
why microsoft offers only non - virtual functions in MFC
is there is any ownership issuses or it's something else

2) what are the advantages of doc-view architecture??


waiting for expert answers


Sebnak
0
Comment
Question by:sebnak
1 Comment
 
LVL 13

Accepted Solution

by:
SteH earned 20 total points
ID: 11880030
1) Only in the base class the virtual specifier is needed. So you might not see that they are virtual but a lot of MFCs functionality is virtual. Some you can find in the ClassView: right click on a class and you get the option "add virtual function". Have a look at them. Another class of functions are message handlers which act a bit like virtual functions as well.

2) This strongly depends on what you want to achieve. For showing some numbers I don't see a big advantage in going to a doc/view architecture. This changes if you want an application to handle a special type of files. Each file is than seen as a document which can be viewed inside the applicatoion.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question