Solved

"WORDPAD"   sample

Posted on 1997-04-15
2
651 Views
Last Modified: 2013-11-20
I wanted to understand the code of WORDPAD sample shipped along with VC++ 4.1 . I request users to guide me, by telling some references, books, MSDN material etc. I work under windows 95 o/s.
0
Comment
Question by:ivs
2 Comments
 

Accepted Solution

by:
sem040797 earned 50 total points
ID: 1301009
Thr primary purpose of the WORDPAD sample is to show how to use the Rich Edit control in a view. For me it was essential in learning the differences between a doc/view based on the edit control vs. the rcih edit control.
The following can be found in the online help:
   TN060: The New Windows Common Controls
   CRichEditView, CRichEditDoc MFC class references

On the chance your new to MFC, do the Scribble tutorial available in online help. This will give you a start on understanding doc/view. Also read the overview on programming with the MFC in on line help.

For outside books try "Inside Visual C++", Kruglinski, Microsoft Press. He has a secion on the rich edit control.

0
 

Expert Comment

by:doggle
ID: 1301010

Hi~

I oftenly reference WORDPAD sample program for testing
a function and structure espetially, CRichEditCtrl and
CRichEditView class.

CRichEditCtrl and CRichEditView is major class in it.

I think there is no book or source that tell whole
solution that you want to know.

I always reference MFC reference and insert debugging
code that I make. For example,

#ifdef CSOME_CLASS_DEBUG
    TRACE("CSomeClass::function() : %d", function_value);
#endif

To check the event and value is good method about learning
MFC function and Window program.

If you send me a mail, I tell my own debugging tips!!

0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

Title # Comments Views Activity
no14 challenge 14 70
haveThree challenge 22 121
FizzBuzz challenge 9 82
unix example issues 18 98
Introduction: Dynamic window placements and drawing on a form, simple usage of windows registry as a storage place for information. Continuing from the first article about sudoku.  There we have designed the application and put a lot of user int…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.

856 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