home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 March
/
VPR9703A.ISO
/
VPR_DATA
/
DOGA
/
SOURCES
/
PASM.LZH
/
PARTSDLG.H
< prev
next >
Wrap
C/C++ Source or Header
|
1995-07-11
|
2KB
|
71 lines
#if !defined(__partsdlg_h) // 番兵。まだインクルードされていない場合にのみ,このファイルを使用
#define __partsdlg_h
/* Project partsasm
Project Team DoGA
Copyright (c) 1995. All Rights Reserved.
サブシステム: partsasm.apx Application
ファイル: partsdlg.h
作成者: Taka2
概要
====
PartsDialog (TDialog) 用のクラス定義
*/
#include <owl\owlpch.h>
#pragma hdrstop
#include <owl\dialog.h>
#include <owl\listbox.h>
#include <owl\static.h>
#include <owl\gdiobjec.h>
#include "pasmapp.rh" // すべてのリソースの定義
//{{TDialog = PartsDialog}}
class PartsDialog : public TDialog {
protected:
TListBox *pListBox;
TStatic *pStatic;
TDib *CatalogDib;
TPalette *CatalogPalette;
int textwidth;
// PartsName *partsname;
// int partscount;
void UpdatePalette(BOOL alwaysRepaint);
void OpenCatalog(int no);
void SelectParts(int no);
void ProfileRead(void);
void drawSelBox(TDC& dc, int no);
public:
char filename[_MAX_PATH];
int nowmenu;
int nowparts;
PartsDialog (TWindow* parent, int lastmenu=-1, int lastparts=-1);
virtual ~PartsDialog ();
//{{PartsDialogVIRTUAL_BEGIN}}
public:
virtual void SetupWindow ();
//{{PartsDialogVIRTUAL_END}}
//{{PartsDialogRSP_TBL_BEGIN}}
protected:
void EvLButtonDown (UINT modKeys, TPoint& point);
void EvPaint ();
void LBNSelchange ();
void EvPaletteChanged (HWND hWndPalChg);
BOOL EvQueryNewPalette ();
void EvLButtonDblClk (UINT modKeys, TPoint& point);
//{{PartsDialogRSP_TBL_END}}
DECLARE_RESPONSE_TABLE(PartsDialog);
}; //{{PartsDialog}}
#endif // __partsdlg_h の番兵