home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 March
/
VPR9703A.ISO
/
VPR_DATA
/
DOGA
/
SOURCES
/
POLYEDIT.LZH
/
MESSAGE
/
MESSAGE.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-01-10
|
913b
|
52 lines
#if !defined(MESSAGE_H)
#define MESSAGE_H
#if defined(__cplusplus)
class _TMessageWindow ;
class EXPORT_CLASS TMessageWindow
{
protected:
_TMessageWindow *win ;
public:
// 初期化
TMessageWindow( const char *str,
int maxline = 1024,
int x = 0, int y = 0,
int h = 400, int v = 500 );
~TMessageWindow();
// ウインドウ制御
#if defined(__OWL_FRAMEWIN_H)
TFrameWindow *GetWindowPtr()
{
return (TFrameWindow*)win ;
}
#endif
int Create();
// 表示
void Printf( const char *fmt, ... );
TMessageWindow& operator<<( const char* str );
TMessageWindow& operator<<( int a );
TMessageWindow& operator<<( float a );
TMessageWindow& operator<<( void *ptr );
};
TMessageWindow* _export MessageWindow() ;
extern "C" {
#endif
void _export wprintf( const char *fmt, ... );
#if defined(__cplusplus)
};
#endif
#endif