home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
dovetail.zip
/
control.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-04-05
|
692b
|
26 lines
/*
The basic control type. This handles the basic, common functionality
of all controls
*/
#ifndef _CONTROL_INC
#define _CONTROL_INC
#define INCL_WIN
#include <os2.h> // determine min include needed for HWND
class Control // base class for all controls
{
friend class Rbutton; // for access to hWnd and fCreated.
protected:
HWND hWnd;
BOOL fCreated;
public:
Control (HWND,ULONG);
Control () {fCreated=TRUE; }
virtual ~Control ();
virtual VOID SetPos(SHORT, SHORT, SHORT, SHORT);
virtual BOOL Show();
virtual BOOL Hide();
};
#endif