?
Solved

"WORDPAD"   sample

Posted on 1997-04-15
2
Medium Priority
?
693 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 100 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

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
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.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

771 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