home *** CD-ROM | disk | FTP | other *** search
/ Chip 1999 January / Chip_1999-01_cd.bin / zkuste / delphi / D3 / EDTOOL.ZIP / PVLCEDIT.HPP < prev    next >
C/C++ Source or Header  |  1998-10-07  |  3KB  |  99 lines

  1. //----------------------------------------------------------------------------
  2. // pvlCedit.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: pvlCedit.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef pvlCeditHPP
  6. #define pvlCeditHPP
  7. //----------------------------------------------------------------------------
  8. #include <EdTool.hpp>
  9. #include <Messages.hpp>
  10. #include <Dialogs.hpp>
  11. #include <Windows.hpp>
  12. #include <Classes.hpp>
  13. #include <Controls.hpp>
  14. #include <Buttons.hpp>
  15. #include <ExtCtrls.hpp>
  16. #include <Forms.hpp>
  17. #include <System.hpp>
  18. namespace Pvlcedit
  19. {
  20. //-- type declarations -------------------------------------------------------
  21. enum ops { opplus, opminus, optimes, opdivide, opnone };
  22.  
  23. class __declspec(delphiclass) TFrmVisCalcEdit;
  24. class __declspec(pascalimplementation) TFrmVisCalcEdit : public Forms::TForm
  25. {
  26.     typedef Forms::TForm inherited;
  27.     
  28. __published:
  29.     Extctrls::TPanel* Panel1;
  30.     Buttons::TSpeedButton* b1;
  31.     Buttons::TSpeedButton* b2;
  32.     Buttons::TSpeedButton* b3;
  33.     Buttons::TSpeedButton* b4;
  34.     Buttons::TSpeedButton* b5;
  35.     Buttons::TSpeedButton* b6;
  36.     Buttons::TSpeedButton* b7;
  37.     Buttons::TSpeedButton* b8;
  38.     Buttons::TSpeedButton* b9;
  39.     Buttons::TSpeedButton* b0;
  40.     Buttons::TSpeedButton* b00;
  41.     Buttons::TSpeedButton* bp;
  42.     Buttons::TSpeedButton* bm;
  43.     Buttons::TSpeedButton* bt;
  44.     Buttons::TSpeedButton* bd;
  45.     Buttons::TSpeedButton* beq;
  46.     Buttons::TSpeedButton* bC;
  47.     Buttons::TSpeedButton* bce;
  48.     Buttons::TSpeedButton* bmp;
  49.     Buttons::TSpeedButton* bmm;
  50.     Buttons::TSpeedButton* bmr;
  51.     Buttons::TSpeedButton* bmc;
  52.     Buttons::TSpeedButton* bdec;
  53.     void __fastcall FormKeyPress(System::TObject* p0, char &p1);
  54.     void __fastcall FormShow(System::TObject* p0);
  55.     void __fastcall FormClose(System::TObject* p0, Forms::TCloseAction &p1);
  56.     void __fastcall b1Click(System::TObject* p0);
  57.     
  58. private:
  59.     Controls::TControl* capture;
  60.     System::AnsiString wholestring;
  61.     System::AnsiString decstring;
  62.     bool indec;
  63.     Byte olddec;
  64.     bool blank;
  65.     Extended oldvalue;
  66.     HIDESBASE MESSAGE void __fastcall WMLButtonDown(Messages::TWMMouse &pvlCedit_);
  67.     HIDESBASE MESSAGE void __fastcall WMLButtonUp(Messages::TWMMouse &pvlCedit_);
  68.     HIDESBASE MESSAGE void __fastcall WMMOUSEMOVE(Messages::TWMMouse &pvlCedit_);
  69.     void __fastcall performop(void);
  70.     void __fastcall displayvalue(void);
  71.     
  72. public:
  73.     Edtool::TPvlCustomCalcEdit* calcedit;
  74.     Extended total;
  75.     Extended memory;
  76.     Extended value;
  77.     ops nextop;
  78. public:
  79.     /* TForm.Create */ __fastcall virtual TFrmVisCalcEdit(Classes::TComponent* AOwner) : Forms::TForm(AOwner
  80.         ) { }
  81.     /* TForm.CreateNew */ __fastcall TFrmVisCalcEdit(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(
  82.         AOwner, Dummy) { }
  83.     /* TForm.Destroy */ __fastcall virtual ~TFrmVisCalcEdit(void) { }
  84.     
  85. public:
  86.     /* TWinControl.CreateParented */ __fastcall TFrmVisCalcEdit(HWND ParentWindow) : Forms::TForm(ParentWindow
  87.         ) { }
  88.     
  89. };
  90.  
  91. //-- var, const, procedure ---------------------------------------------------
  92.  
  93. }    /* namespace Pvlcedit */
  94. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  95. using namespace Pvlcedit;
  96. #endif
  97. //-- end unit ----------------------------------------------------------------
  98. #endif    // pvlCedit
  99.