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

  1. #if !defined(__bmpbtn_h)              // 番兵。まだインクルードされていない場合にのみ,このファイルを使用
  2. #define __bmpbtn_h
  3.  
  4. /*  Project wireview
  5.     DoGA
  6.     Copyright (c) 1995. Project Team DoGA. All Rights Reserved.
  7.  
  8.     サブシステム:    wireview.apx Application
  9.     ファイル:        bmpbtn.h
  10.     作成者:          Masamichi Takatsu
  11.  
  12.  
  13.     概要
  14.     ====
  15.     TBmpButton (TButton) 用のクラス定義
  16. */
  17.  
  18. #include <owl\owlpch.h>
  19. #pragma hdrstop
  20.  
  21. #include <owl\button.h>
  22.  
  23. #include "wirvwapp.rh"            // すべてのリソースの定義
  24.  
  25.  
  26. class TDib;
  27. //{{TButton = TBmpButton}}
  28. class TBmpButton : public TButton {
  29.     TDib *dib;
  30.     int ctrlid, bmpid;
  31. public:
  32.     TBmpButton (TWindow* parent, int cid, int bid, int X, int Y, int W, int H, BOOL isDefault = FALSE, TModule* module = 0);
  33.     virtual ~TBmpButton ();
  34.  
  35. //{{TBmpButtonRSP_TBL_BEGIN}}
  36. protected:
  37.     void EvDrawItem (UINT ctrlId, DRAWITEMSTRUCT far& draw);
  38. //{{TBmpButtonRSP_TBL_END}}
  39. DECLARE_RESPONSE_TABLE(TBmpButton);
  40. };    //{{TBmpButton}}
  41.  
  42.  
  43. #endif                                      // __bmpbtn_h の番兵
  44.  
  45.