home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / cstwnd / ccheck.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-12-18  |  678 b   |  31 lines

  1. #ifndef _CCHECK_H_
  2. #define _CCHECK_H_
  3.  
  4. #ifndef _STATEBUT_H_
  5. #include <statebut.h>
  6. #endif
  7.  
  8. //Class Name
  9. extern char CCheckClassName[];
  10.  
  11. _CLASSDEF(TCCheck)
  12. class TCCheck : public TStateButton
  13. {
  14.     HBITMAP On,Off,Mask;
  15. public:                             
  16.      TCCheck(PTWindowsObject AParent, int AnId,
  17.               LPSTR ATitle, int X, int Y, int W, int H,
  18.               PTModule AModule = NULL);
  19.      TCCheck(PTWindowsObject AParent, int ResourceId,
  20.               PTModule AModule = NULL);
  21.      ~TCCheck();
  22.  
  23. protected:
  24.     virtual void DrawOff(HDC DrawDC);
  25.     virtual void DrawOn(HDC DrawDC);
  26.  
  27.     virtual LPSTR GetClassName();
  28.     virtual void GetWindowClass(WNDCLASS _FAR& WndClass);
  29. };
  30.  
  31. #endif