home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Pier Shareware 6
/
The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso
/
038
/
dho_9a.zip
/
CONTROL.CC
< prev
next >
Wrap
Text File
|
1994-10-12
|
933b
|
40 lines
// Developer Helper Object Set, (C) 1994 Thomas E. Bednarz, Jr.
// All rights reserved
#include"control.h"
//-------------------------------------------------------------------
// TControl
TControl::TControl(TWinBase *parent, ULONG resource)
{
fParent = parent;
fResource = resource;
}
//-------------------------------------------------------------------
// ~TControl
TControl::~TControl()
{
}
//-------------------------------------------------------------------
// SendMessage
MRESULT TControl::SendMessage(ULONG ul, MPARAM mp1, MPARAM mp2)
{
return WinSendDlgItemMsg(
fParent->getFrame(),
fResource,
ul, mp1, mp2);
}
//-------------------------------------------------------------------
// getClassName
const char *TControl::getClassName()
{
return "TControl";
}