Solved

"WORDPAD"   sample

Posted on 1997-04-15
2
670 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
In this post we will learn different types of Android Layout and some basics of an Android App.
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.
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

726 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