home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1998 May
/
Pcwk5b98.iso
/
Borland
/
Cplus45
/
BC45
/
GDIDEMO.PAK
/
DEMOBASE.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-08-29
|
814b
|
26 lines
//----------------------------------------------------------------------------
// ObjectWindows - (C) Copyright 1991, 1993 by Borland International
// Base window classes for the GDI demo windows
//----------------------------------------------------------------------------
#ifndef __DEMOBASE_H
#define __DEMOBASE_H
#include <owl\mdichild.h>
#define max(a,b) (((a) > (b)) ? (a) : (b))
#define min(a,b) (((a) < (b)) ? (a) : (b))
class TBaseDemoWindow : public TWindow {
public:
TBaseDemoWindow() : TWindow(0, 0, 0) {}
virtual void TimerTick() {}
DECLARE_CASTABLE;
};
// TBaseDemoWindow.TimerTick is a trivial method that gets called
// whenever application receives a EvTimer. Descendants will override
// this procedure if they need timer messages.
#endif