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 >
Text File  |  1994-10-12  |  933b  |  40 lines

  1. // Developer Helper Object Set, (C) 1994 Thomas E. Bednarz, Jr.
  2. //  All rights reserved
  3.  
  4. #include"control.h"
  5.  
  6. //-------------------------------------------------------------------
  7. //   TControl
  8. TControl::TControl(TWinBase *parent, ULONG resource)
  9. {
  10.    fParent = parent;
  11.    fResource = resource;
  12. }
  13.  
  14.  
  15. //-------------------------------------------------------------------
  16. //   ~TControl
  17. TControl::~TControl()
  18. {
  19.  
  20. }
  21.  
  22.  
  23. //-------------------------------------------------------------------
  24. //   SendMessage
  25. MRESULT TControl::SendMessage(ULONG ul, MPARAM mp1, MPARAM mp2)
  26. {
  27.    return WinSendDlgItemMsg(
  28.                                 fParent->getFrame(),
  29.                                 fResource,
  30.                                 ul, mp1, mp2);
  31. }
  32.  
  33.  
  34. //-------------------------------------------------------------------
  35. //   getClassName
  36. const char *TControl::getClassName()
  37. {
  38.    return "TControl";
  39. }
  40.