Solved

"WORDPAD"   sample

Posted on 1997-04-15
2
634 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Expand data scrubbing tool 13 32
Tab names are off by one 5 53
sumHeights  challenge 17 66
wordappend challenge 8 149
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

867 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now