home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 March / VPR9703A.ISO / VPR_DATA / DOGA / SOURCES / PASM.LZH / BMPBTN.H < prev    next >
C/C++ Source or Header  |  1995-07-10  |  1KB  |  54 lines

  1. #if !defined(__bmpbtn_h)              // 番兵。まだインクルードされていない場合にのみ,このファイルを使用
  2. #define __bmpbtn_h
  3.  
  4. /*  Project partsasm
  5.     Project Team DoGA
  6.     Copyright (c) 1995. All Rights Reserved.
  7.  
  8.     サブシステム:    partsasm.apx Application
  9.     ファイル:        bmpbtn.h
  10.     作成者:          Taka2
  11.  
  12.  
  13.     概要
  14.     ====
  15.     TBitmapButton (TButton) 用のクラス定義
  16. */
  17.  
  18. #include <owl\owlpch.h>
  19. #pragma hdrstop
  20.  
  21. #include <owl\button.h>
  22. #include <owl\gdiobjec.h>
  23.  
  24. #include "pasmapp.rh"            // すべてのリソースの定義
  25.  
  26. class DesignData;
  27. //{{TButton = TBitmapButton}}
  28. class TBitmapButton : public TButton {
  29.     TDib *dib;
  30.     DesignData *designdata;
  31. public:
  32.     TBitmapButton (TWindow* parent, DesignData *dd, int id, int X, int Y, int W, int H, BOOL isDefault = FALSE, TModule* module = 0);
  33.     virtual ~TBitmapButton ();
  34.  
  35. //{{TBitmapButtonVIRTUAL_BEGIN}}
  36. public:
  37.     virtual void SetupWindow ();
  38.     virtual void ODADrawEntire (DRAWITEMSTRUCT far& drawInfo);
  39.     virtual void ODAFocus (DRAWITEMSTRUCT far& drawInfo);
  40.     virtual void ODASelect (DRAWITEMSTRUCT far& drawInfo);
  41. //{{TBitmapButtonVIRTUAL_END}}
  42.  
  43. //{{TBitmapButtonRSP_TBL_BEGIN}}
  44. protected:
  45.     void EvPaint ();
  46.     void EvTimer (UINT timerId);
  47. //{{TBitmapButtonRSP_TBL_END}}
  48. DECLARE_RESPONSE_TABLE(TBitmapButton);
  49. };    //{{TBitmapButton}}
  50.  
  51.  
  52. #endif                                      // __bmpbtn_h の番兵
  53.  
  54.