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 >
Wrap
C/C++ Source or Header
|
1995-07-10
|
1KB
|
54 lines
#if !defined(__bmpbtn_h) // 番兵。まだインクルードされていない場合にのみ,このファイルを使用
#define __bmpbtn_h
/* Project partsasm
Project Team DoGA
Copyright (c) 1995. All Rights Reserved.
サブシステム: partsasm.apx Application
ファイル: bmpbtn.h
作成者: Taka2
概要
====
TBitmapButton (TButton) 用のクラス定義
*/
#include <owl\owlpch.h>
#pragma hdrstop
#include <owl\button.h>
#include <owl\gdiobjec.h>
#include "pasmapp.rh" // すべてのリソースの定義
class DesignData;
//{{TButton = TBitmapButton}}
class TBitmapButton : public TButton {
TDib *dib;
DesignData *designdata;
public:
TBitmapButton (TWindow* parent, DesignData *dd, int id, int X, int Y, int W, int H, BOOL isDefault = FALSE, TModule* module = 0);
virtual ~TBitmapButton ();
//{{TBitmapButtonVIRTUAL_BEGIN}}
public:
virtual void SetupWindow ();
virtual void ODADrawEntire (DRAWITEMSTRUCT far& drawInfo);
virtual void ODAFocus (DRAWITEMSTRUCT far& drawInfo);
virtual void ODASelect (DRAWITEMSTRUCT far& drawInfo);
//{{TBitmapButtonVIRTUAL_END}}
//{{TBitmapButtonRSP_TBL_BEGIN}}
protected:
void EvPaint ();
void EvTimer (UINT timerId);
//{{TBitmapButtonRSP_TBL_END}}
DECLARE_RESPONSE_TABLE(TBitmapButton);
}; //{{TBitmapButton}}
#endif // __bmpbtn_h の番兵