home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // HCtlEdit.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
- // From: HCtlEdit.pas
- //----------------------------------------------------------------------------
- #ifndef HCtlEditHPP
- #define HCtlEditHPP
- //----------------------------------------------------------------------------
- #include <LibHelp.hpp>
- #include <ComCtrls.hpp>
- #include <StdCtrls.hpp>
- #include <Dialogs.hpp>
- #include <Forms.hpp>
- #include <Controls.hpp>
- #include <Graphics.hpp>
- #include <Classes.hpp>
- #include <Messages.hpp>
- #include <Windows.hpp>
- #include <SysUtils.hpp>
- #include <System.hpp>
- #pragma warn -par
- #pragma warn -hid
- #pragma warn -inl
-
- namespace Hctledit
- {
- //-- type declarations -------------------------------------------------------
- class __declspec(delphiclass) THeaderControlEditor;
- class __declspec(pascalimplementation) THeaderControlEditor : public Forms::TForm
- {
- typedef Forms::TForm inherited;
-
- __published:
- Stdctrls::TGroupBox* GroupBox1;
- Stdctrls::TListBox* SectionList;
- Stdctrls::TButton* NewButton;
- Stdctrls::TButton* DeleteButton;
- Stdctrls::TGroupBox* GroupBox2;
- Stdctrls::TEdit* SectionText;
- Stdctrls::TEdit* SectionWidth;
- Stdctrls::TEdit* SectionMinWidth;
- Stdctrls::TEdit* SectionMaxWidth;
- Stdctrls::TComboBox* SectionStyle;
- Stdctrls::TComboBox* SectionAlignment;
- Stdctrls::TCheckBox* SectionAllowClick;
- Stdctrls::TButton* OkButton;
- Stdctrls::TButton* CancelButton;
- Stdctrls::TButton* ApplyButton;
- Stdctrls::TButton* HelpButton;
- Stdctrls::TLabel* Label1;
- Stdctrls::TLabel* Label2;
- Stdctrls::TLabel* Label3;
- Stdctrls::TLabel* Label4;
- Stdctrls::TLabel* Label5;
- void __fastcall FormCreate(System::TObject* Sender);
- void __fastcall SectionListClick(System::TObject* Sender);
- void __fastcall NewButtonClick(System::TObject* Sender);
- void __fastcall DeleteButtonClick(System::TObject* Sender);
- void __fastcall SectionListMouseDown(System::TObject* Sender, Controls::TMouseButton Button, Classes::TShiftState
- Shift, int X, int Y);
- void __fastcall SectionListDragOver(System::TObject* Sender, System::TObject* Source, int X, int Y,
- Controls::TDragState State, bool &Accept);
- void __fastcall SectionListDragDrop(System::TObject* Sender, System::TObject* Source, int X, int Y)
- ;
- void __fastcall SectionControlExit(System::TObject* Sender);
- void __fastcall SectionEditChange(System::TObject* Sender);
- void __fastcall SectionComboChange(System::TObject* Sender);
- void __fastcall OkButtonClick(System::TObject* Sender);
- void __fastcall CancelButtonClick(System::TObject* Sender);
- void __fastcall ApplyButtonClick(System::TObject* Sender);
- void __fastcall HelpButtonClick(System::TObject* Sender);
-
- private:
- Comctrls::THeaderControl* HeaderControl;
- Comctrls::THeaderSections* TargetSections;
- int FocusIndex;
- bool UpdatingControls;
- bool Modified;
- void __fastcall UpdateControls(void);
- void __fastcall UpdateSection(void);
- void __fastcall UpdateSectionList(void);
- public:
- /* TForm.Create */ __fastcall virtual THeaderControlEditor(Classes::TComponent* AOwner) : Forms::TForm(
- AOwner) { }
- /* TForm.CreateNew */ __fastcall THeaderControlEditor(Classes::TComponent* AOwner, int Dummy) : Forms::
- TForm(AOwner, Dummy) { }
- /* TForm.Destroy */ __fastcall virtual ~THeaderControlEditor(void) { }
-
- public:
- /* TWinControl.CreateParented */ __fastcall THeaderControlEditor(HWND ParentWindow) : Forms::TForm(
- ParentWindow) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
- extern bool __fastcall EditHeaderSections(Comctrls::THeaderSections* HeaderSections);
-
- } /* namespace Hctledit */
-
- #pragma warn .par
- #pragma warn .hid
- #pragma warn .inl
-
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Hctledit;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // HCtlEdit
-