Solved

"WORDPAD"   sample

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
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…
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.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

708 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

17 Experts available now in Live!

Get 1:1 Help Now