home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 March
/
VPR9703A.ISO
/
VPR_DATA
/
DOGA
/
SOURCES
/
MEDIT.LZH
/
WINFRAME.H
< prev
Wrap
C/C++ Source or Header
|
1996-05-23
|
2KB
|
70 lines
#if !defined(__winframe_h) // 番兵。まだインクルードされていない場合にのみ,このファイルを使用
#define __winframe_h
/* Project medit
Project Team DoGA
Copyright (c) 1995. All Rights Reserved.
サブシステム: medit.apx Application
ファイル: winframe.h
作成者: Taka2
概要
====
TWinFrame (TWindow) 用のクラス定義
*/
#include <owl\owlpch.h>
#pragma hdrstop
#include <owl\window.h>
#include "meditapp.rh" // すべてのリソースの定義
#define ID_SCROLL_X 501
#define ID_SCROLL_Y 502
#define ID_SCROLL_Z 503
#define ID_SCROLL_F 504
class AnimationData;
//{{TWindow = TWinFrame}}
class TWinFrame : public TWindow {
private:
int execonce;
public:
AnimationData *anim;
TWinFrame (TWindow* parent, const char far* title = 0, TModule* module = 0);
virtual ~TWinFrame ();
void EvScrollX (UINT code);
void EvScrollY (UINT code);
void EvScrollZ (UINT code);
void EvScrollF (UINT code);
void EvButtonPlay (void);
void EvButtonStop (void);
void EvButtonForward (void);
void EvButtonBackward (void);
void EvButtonOk(void);
void EvButtonCancel(void);
//{{TWinFrameVIRTUAL_BEGIN}}
public:
virtual BOOL CanClose ();
virtual void Paint (TDC& dc, BOOL erase, TRect& rect);
virtual void SetupWindow ();
virtual BOOL IdleAction (long idleCount);
//{{TWinFrameVIRTUAL_END}}
//{{TWinFrameRSP_TBL_BEGIN}}
protected:
void EvSize (UINT sizeType, TSize& size);
void EvTimer (UINT timerId);
//{{TWinFrameRSP_TBL_END}}
DECLARE_RESPONSE_TABLE(TWinFrame);
}; //{{TWinFrame}}
#endif // __winframe_h の番兵