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 >
C/C++ Source or Header  |  1995-07-11  |  2KB  |  71 lines

  1. #if !defined(__partsdlg_h)              // 番兵。まだインクルードされていない場合にのみ,このファイルを使用
  2. #define __partsdlg_h
  3.  
  4. /*  Project partsasm
  5.     Project Team DoGA
  6.     Copyright (c) 1995. All Rights Reserved.
  7.  
  8.     サブシステム:    partsasm.apx Application
  9.     ファイル:        partsdlg.h
  10.     作成者:          Taka2
  11.  
  12.  
  13.     概要
  14.     ====
  15.     PartsDialog (TDialog) 用のクラス定義
  16. */
  17.  
  18. #include <owl\owlpch.h>
  19. #pragma hdrstop
  20.  
  21. #include <owl\dialog.h>
  22. #include <owl\listbox.h>
  23. #include <owl\static.h>
  24. #include <owl\gdiobjec.h>
  25.  
  26. #include "pasmapp.rh"            // すべてのリソースの定義
  27.  
  28. //{{TDialog = PartsDialog}}
  29. class PartsDialog : public TDialog {
  30. protected:
  31.     TListBox *pListBox;
  32.     TStatic *pStatic;
  33.     TDib *CatalogDib;
  34.     TPalette *CatalogPalette;
  35.     int textwidth;
  36. //    PartsName *partsname;
  37. //    int partscount;
  38.  
  39.     void UpdatePalette(BOOL alwaysRepaint);
  40.     void OpenCatalog(int no);
  41.     void SelectParts(int no);
  42.     void ProfileRead(void);
  43.     void drawSelBox(TDC& dc, int no);
  44. public:
  45.     char filename[_MAX_PATH];
  46.     int nowmenu;
  47.     int nowparts;
  48.     PartsDialog (TWindow* parent, int lastmenu=-1, int lastparts=-1);
  49.     virtual ~PartsDialog ();
  50.  
  51. //{{PartsDialogVIRTUAL_BEGIN}}
  52. public:
  53.     virtual void SetupWindow ();
  54. //{{PartsDialogVIRTUAL_END}}
  55.  
  56. //{{PartsDialogRSP_TBL_BEGIN}}
  57. protected:
  58.     void EvLButtonDown (UINT modKeys, TPoint& point);
  59.     void EvPaint ();
  60.     void LBNSelchange ();
  61.     void EvPaletteChanged (HWND hWndPalChg);
  62.     BOOL EvQueryNewPalette ();
  63.     void EvLButtonDblClk (UINT modKeys, TPoint& point);
  64. //{{PartsDialogRSP_TBL_END}}
  65. DECLARE_RESPONSE_TABLE(PartsDialog);
  66. };    //{{PartsDialog}}
  67.  
  68.  
  69. #endif                                      // __partsdlg_h の番兵
  70.  
  71.