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

  1. //----------------------------------------------------------------------------
  2. // pvlTedit.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: pvlTedit.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef pvlTeditHPP
  6. #define pvlTeditHPP
  7. //----------------------------------------------------------------------------
  8. #include <pvlDedit.hpp>
  9. #include <pvlClk.hpp>
  10. #include <StdCtrls.hpp>
  11. #include <Graphics.hpp>
  12. #include <SysUtils.hpp>
  13. #include <Windows.hpp>
  14. #include <Messages.hpp>
  15. #include <Forms.hpp>
  16. #include <Classes.hpp>
  17. #include <Controls.hpp>
  18. #include <Grids.hpp>
  19. #include <ExtCtrls.hpp>
  20. #include <Buttons.hpp>
  21. #include <System.hpp>
  22. namespace Pvltedit
  23. {
  24. //-- type declarations -------------------------------------------------------
  25. class __declspec(delphiclass) TFrmVisTimeEdit;
  26. class __declspec(pascalimplementation) TFrmVisTimeEdit : public Forms::TForm
  27. {
  28.     typedef Forms::TForm inherited;
  29.     
  30. __published:
  31.     Extctrls::TPanel* Panel1;
  32.     Stdctrls::TEdit* Edith;
  33.     Stdctrls::TEdit* Editm;
  34.     Stdctrls::TEdit* Edits;
  35.     Buttons::TSpeedButton* pm;
  36.     Buttons::TSpeedButton* am;
  37.     Pvlclk::TpvlClock* Clock;
  38.     Pvldedit::TpvlSpeedButton* uph;
  39.     Pvldedit::TpvlSpeedButton* dnh;
  40.     Pvldedit::TpvlSpeedButton* upm;
  41.     Pvldedit::TpvlSpeedButton* dnm;
  42.     Pvldedit::TpvlSpeedButton* ups;
  43.     Pvldedit::TpvlSpeedButton* dns;
  44.     void __fastcall clockDblClick(System::TObject* p0);
  45.     void __fastcall FormClose(System::TObject* p0, Forms::TCloseAction &p1);
  46.     void __fastcall FormKeyUp(System::TObject* p0, Word &p1, Classes::TShiftState p2);
  47.     void __fastcall FormShow(System::TObject* p0);
  48.     void __fastcall ClockClick(System::TObject* p0);
  49.     void __fastcall amClick(System::TObject* p0);
  50.     void __fastcall uphClick(System::TObject* p0);
  51.     void __fastcall dnhClick(System::TObject* p0);
  52.     void __fastcall upmClick(System::TObject* p0);
  53.     void __fastcall dnmClick(System::TObject* p0);
  54.     void __fastcall upsClick(System::TObject* p0);
  55.     void __fastcall dnsClick(System::TObject* p0);
  56.     
  57. private:
  58.     bool factive;
  59.     System::TDateTime oldtime;
  60.     Controls::TControl* capture;
  61.     void __fastcall timeChange(bool p0);
  62.     virtual void __fastcall CreateParams(Controls::TCreateParams &pvlTedit_);
  63.     virtual void __fastcall loaded(void);
  64.     HIDESBASE MESSAGE void __fastcall WMLButtonDown(Messages::TWMMouse &pvlTedit_);
  65.     HIDESBASE MESSAGE void __fastcall WMLButtonUp(Messages::TWMMouse &pvlTedit_);
  66.     HIDESBASE MESSAGE void __fastcall WMMOUSEMOVE(Messages::TWMMouse &pvlTedit_);
  67.     HIDESBASE MESSAGE void __fastcall WMLBUTTONDBLCLK(Messages::TWMMouse &pvlTedit_);
  68.     
  69. public:
  70.     __fastcall virtual ~TFrmVisTimeEdit(void);
  71. public:
  72.     /* TForm.Create */ __fastcall virtual TFrmVisTimeEdit(Classes::TComponent* AOwner) : Forms::TForm(AOwner
  73.         ) { }
  74.     /* TForm.CreateNew */ __fastcall TFrmVisTimeEdit(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(
  75.         AOwner, Dummy) { }
  76.     
  77. public:
  78.     /* TWinControl.CreateParented */ __fastcall TFrmVisTimeEdit(HWND ParentWindow) : Forms::TForm(ParentWindow
  79.         ) { }
  80.     
  81. };
  82.  
  83. enum THMS { THour, TMin, TSec };
  84.  
  85. //-- var, const, procedure ---------------------------------------------------
  86. extern System::TDateTime __fastcall incdecTime(System::TDateTime p0, bool p1, bool p2, THMS p3);
  87.  
  88. }    /* namespace Pvltedit */
  89. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  90. using namespace Pvltedit;
  91. #endif
  92. //-- end unit ----------------------------------------------------------------
  93. #endif    // pvlTedit
  94.