Solved

Output window in VC++6.0

Posted on 1999-01-14
3
191 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
[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
3 Comments
 
LVL 11

Accepted Solution

by:
mikeblas earned 200 total points
ID: 1327702
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
ID: 1327703
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
ID: 1327704
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 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

Suggested Solutions

Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

710 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