home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
High Voltage Shareware
/
high1.zip
/
high1
/
DIR41
/
CUJ0993.ZIP
/
1109058B
< prev
next >
Wrap
Text File
|
1993-07-08
|
621b
|
32 lines
// ostrwnd.h
// Assumes #include "stdhdr.h" is in calling file
#if !defined (_OSTRWND_H_)
#define _OSTRWND_H_
#include "CStrWnd.h"
class ostreamWnd : public CStrWnd
{
public:
ostreamWnd (const char * window_name);
afx_msg void OnClose ()
{;}
// Do nothing (this window should not be closed)
void SetBufferLines (const int new_size)
{max_lines_in_buffer = new_size;}
void PutText (const char * buf, int no_of_chars);
// Enter a line of text no_of_chars long
// into the text_buffer
DECLARE_MESSAGE_MAP ();
private:
int max_lines_in_buffer;
};
#endif