Solved

Output window in VC++6.0

Posted on 1999-01-14
3
186 Views
Last Modified: 2013-11-20
Does any one know the exact control used by MS for the output window in VC++6.0?  Is it a CEdit?  CRichEditCtrl?
CListCtrl?  I am concerned because I have created a message area similar to VC++6.0's but I used a CEdit.  This message area can get very very large (ie: many lines of messages).  The app can run for days sending messages to the message area.  I feel I may be running into PageFile problems because the message window is getting too full.  Any ideas?
Has anyone else created their own message window?  What control did you use?
0
Comment
Question by:EWaszkow
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
mikeblas earned 200 total points
Comment Utility
The pane in question is drawn completely from scratch. It's not based on an existing MFC control.

Most people start with an edit control when they write their own log window. You can see an example of that approach if you look at the Test Container sample code that ships with the Visual C++ project.

If your output window is going to contain super-large text, you might want to investigate actually having the window show a section of a file, and actually store your log information in a file instead of in the control itself.

B ekiM
0
 

Author Comment

by:EWaszkow
Comment Utility
Thanks much for the information Mike.  I suspected something 'custom' was going on when SPY could not tell me what MFC class the output window was derived from.

Just a quick followup... does VC++6.0 use the method of saving the output to a file and viewing parts of it at a time in the output window?  Just curious...  This is the method I will most likely use for my output window.  Thanks again!

Life at Microsoft still treating you well??
0
 
LVL 11

Expert Comment

by:mikeblas
Comment Utility
SPY can never tell you about the MFC class. SPY doesn't know C++, and information about the C++ class used isn't reflected in the information given to Windows when creating the window.

B ekiM
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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 seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

772 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