Solved

Output window in VC++6.0

Posted on 1999-01-14
3
193 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

Database Solutions Engineer FAQs

In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller single-server environments.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
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.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

635 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