home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1997 May / Pcwk0597.iso / borland / cb / setup / cbuilder / data.z / SBAREDIT.HPP < prev    next >
C/C++ Source or Header  |  1997-02-28  |  4KB  |  105 lines

  1. //----------------------------------------------------------------------------
  2. // SBarEdit.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: SBarEdit.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef SBarEditHPP
  6. #define SBarEditHPP
  7. //----------------------------------------------------------------------------
  8. #include <LibHelp.hpp>
  9. #include <ComCtrls.hpp>
  10. #include <StdCtrls.hpp>
  11. #include <Dialogs.hpp>
  12. #include <Forms.hpp>
  13. #include <Controls.hpp>
  14. #include <Graphics.hpp>
  15. #include <Classes.hpp>
  16. #include <Messages.hpp>
  17. #include <Windows.hpp>
  18. #include <SysUtils.hpp>
  19. #include <System.hpp>
  20. #pragma warn -par
  21. #pragma warn -hid 
  22. #pragma warn -inl
  23.  
  24. namespace Sbaredit
  25. {
  26. //-- type declarations -------------------------------------------------------
  27. class __declspec(delphiclass) TStatusBarEditor;
  28. class __declspec(pascalimplementation) TStatusBarEditor : public Forms::TForm
  29. {
  30.     typedef Forms::TForm inherited;
  31.     
  32. __published:
  33.     Stdctrls::TGroupBox* GroupBox1;
  34.     Stdctrls::TListBox* PanelList;
  35.     Stdctrls::TButton* NewButton;
  36.     Stdctrls::TButton* DeleteButton;
  37.     Stdctrls::TGroupBox* GroupBox2;
  38.     Stdctrls::TEdit* PanelText;
  39.     Stdctrls::TEdit* PanelWidth;
  40.     Stdctrls::TComboBox* PanelStyle;
  41.     Stdctrls::TComboBox* PanelBevel;
  42.     Stdctrls::TComboBox* PanelAlignment;
  43.     Stdctrls::TButton* OkButton;
  44.     Stdctrls::TButton* CancelButton;
  45.     Stdctrls::TButton* ApplyButton;
  46.     Stdctrls::TButton* HelpButton;
  47.     Stdctrls::TLabel* Label1;
  48.     Stdctrls::TLabel* Label2;
  49.     Stdctrls::TLabel* Label3;
  50.     Stdctrls::TLabel* Label4;
  51.     Stdctrls::TLabel* Label5;
  52.     void __fastcall FormCreate(System::TObject* Sender);
  53.     void __fastcall PanelListClick(System::TObject* Sender);
  54.     void __fastcall NewButtonClick(System::TObject* Sender);
  55.     void __fastcall DeleteButtonClick(System::TObject* Sender);
  56.     void __fastcall PanelListMouseDown(System::TObject* Sender, Controls::TMouseButton Button, Classes::TShiftState 
  57.         Shift, int X, int Y);
  58.     void __fastcall PanelListDragOver(System::TObject* Sender, System::TObject* Source, int X, int Y, Controls::TDragState 
  59.         State, bool &Accept);
  60.     void __fastcall PanelListDragDrop(System::TObject* Sender, System::TObject* Source, int X, int Y);
  61.     void __fastcall PanelControlExit(System::TObject* Sender);
  62.     void __fastcall PanelEditChange(System::TObject* Sender);
  63.     void __fastcall PanelComboChange(System::TObject* Sender);
  64.     void __fastcall OkButtonClick(System::TObject* Sender);
  65.     void __fastcall CancelButtonClick(System::TObject* Sender);
  66.     void __fastcall ApplyButtonClick(System::TObject* Sender);
  67.     void __fastcall HelpButtonClick(System::TObject* Sender);
  68.     
  69. private:
  70.     Comctrls::TStatusBar* StatusBar;
  71.     Comctrls::TStatusPanels* TargetPanels;
  72.     int FocusIndex;
  73.     bool UpdatingControls;
  74.     bool Modified;
  75.     void __fastcall UpdateControls(void);
  76.     void __fastcall UpdatePanel(void);
  77.     void __fastcall UpdatePanelList(void);
  78. public:
  79.     /* TForm.Create */ __fastcall virtual TStatusBarEditor(Classes::TComponent* AOwner) : Forms::TForm(
  80.         AOwner) { }
  81.     /* TForm.CreateNew */ __fastcall TStatusBarEditor(Classes::TComponent* AOwner, int Dummy) : Forms::
  82.         TForm(AOwner, Dummy) { }
  83.     /* TForm.Destroy */ __fastcall virtual ~TStatusBarEditor(void) { }
  84.     
  85. public:
  86.     /* TWinControl.CreateParented */ __fastcall TStatusBarEditor(HWND ParentWindow) : Forms::TForm(ParentWindow
  87.         ) { }
  88.     
  89. };
  90.  
  91. //-- var, const, procedure ---------------------------------------------------
  92. extern bool __fastcall EditStatusPanels(Comctrls::TStatusPanels* StatusPanels);
  93.  
  94. }    /* namespace Sbaredit */
  95.  
  96. #pragma warn .par
  97. #pragma warn .hid 
  98. #pragma warn .inl
  99.  
  100. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  101. using namespace Sbaredit;
  102. #endif
  103. //-- end unit ----------------------------------------------------------------
  104. #endif    // SBarEdit
  105.