home *** CD-ROM | disk | FTP | other *** search
- //----------------------------------------------------------------------------
- // ItemEdit.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
- // From: ItemEdit.pas
- //----------------------------------------------------------------------------
- #ifndef ItemEditHPP
- #define ItemEditHPP
- //----------------------------------------------------------------------------
- #ifndef LibHelpHPP
- #include <LibHelp.hpp>
- #endif
-
- #ifndef ComCtrlsHPP
- #include <ComCtrls.hpp>
- #endif
-
- #ifndef StdCtrlsHPP
- #include <StdCtrls.hpp>
- #endif
-
- #ifndef DialogsHPP
- #include <Dialogs.hpp>
- #endif
-
- #ifndef FormsHPP
- #include <Forms.hpp>
- #endif
-
- #ifndef ControlsHPP
- #include <Controls.hpp>
- #endif
-
- #ifndef GraphicsHPP
- #include <Graphics.hpp>
- #endif
-
- #ifndef ClassesHPP
- #include <Classes.hpp>
- #endif
-
- #ifndef MessagesHPP
- #include <Messages.hpp>
- #endif
-
- #ifndef WindowsHPP
- #include <Windows.hpp>
- #endif
-
- #ifndef SysUtilsHPP
- #include <SysUtils.hpp>
- #endif
-
- #ifndef SystemHPP
- #include <System.hpp>
- #endif
-
- namespace Itemedit
- {
- //-- type declarations -------------------------------------------------------
- class __declspec(delphiclass) TItemInfo;
- class __declspec(pascalimplementation) TItemInfo : public System::TObject
- {
- typedef TItemInfo ThisClass;
- typedef System::TObject inherited;
-
- private:
- Classes::TList *FOwner;
- Classes::TStringList *FSubItems;
- System::AnsiString FCaption;
- System::Integer FImageIndex;
- System::Integer FStateIndex;
- System::Integer __fastcall GetIndex(void);
-
- public:
- __fastcall TItemInfo(Classes::TList *AOwner, Comctrls::TListItem *Item);
- __fastcall virtual ~TItemInfo(void);
- __property System::Integer Index = {read=GetIndex, nodefault};
- __property Classes::TList * Owner = {read=FOwner, nodefault};
- __property Classes::TStringList * SubItems = {read=FSubItems, nodefault};
- };
-
- class __declspec(delphiclass) TListViewItems;
- class __declspec(pascalimplementation) TListViewItems : public Forms::TForm
- {
- typedef TListViewItems ThisClass;
- typedef Forms::TForm inherited;
-
- __published:
- Stdctrls::TGroupBox *GroupBox1;
- Stdctrls::TGroupBox *PropGroupBox;
- Stdctrls::TButton *New;
- Stdctrls::TButton *Delete;
- Stdctrls::TLabel *Label1;
- Stdctrls::TLabel *Label2;
- Stdctrls::TLabel *Label3;
- Comctrls::TTreeView *TreeView;
- Stdctrls::TButton *NewSub;
- Stdctrls::TEdit *Text;
- Stdctrls::TEdit *Image;
- Stdctrls::TEdit *StateImage;
- Stdctrls::TButton *Button4;
- Stdctrls::TButton *Cancel;
- Stdctrls::TButton *Apply;
- Stdctrls::TButton *Button7;
- void __fastcall NewClick(System::TObject *Sender);
- void __fastcall NewSubClick(System::TObject *Sender);
- void __fastcall DeleteClick(System::TObject *Sender);
- void __fastcall ValueChange(System::TObject *Sender);
- void __fastcall TextExit(System::TObject *Sender);
- void __fastcall ImageExit(System::TObject *Sender);
- void __fastcall StateImageExit(System::TObject *Sender);
- void __fastcall FormCreate(System::TObject *Sender);
- void __fastcall FormDestroy(System::TObject *Sender);
- void __fastcall ApplyClick(System::TObject *Sender);
- void __fastcall TreeViewChange(System::TObject *Sender, Comctrls::TTreeNode *Node);
- void __fastcall TreeViewChanging(System::TObject *Sender, Comctrls::TTreeNode *Node, System::Boolean
- &AllowChange);
- void __fastcall TreeViewDragOver(System::TObject *Sender, System::TObject *Source, System::Integer
- X, System::Integer Y, Controls::TDragState State, System::Boolean &Accept);
- void __fastcall TreeViewDragDrop(System::TObject *Sender, System::TObject *Source, System::Integer
- X, System::Integer Y);
- void __fastcall TreeViewEdited(System::TObject *Sender, Comctrls::TTreeNode *Node, System::AnsiString &
- S);
- void __fastcall Button7Click(System::TObject *Sender);
-
- private:
- Classes::TList *FInfoList;
- Comctrls::TListItems *FItems;
- System::Boolean FDropping;
- void __fastcall FlushControls(void);
- void __fastcall GetItem(Comctrls::TListItem *Value);
- TItemInfo *__fastcall GetItemInfo(System::Integer Index);
- void __fastcall SetItem(TItemInfo *Value);
- void __fastcall SetStates(void);
- void __fastcall SetSubItem(const System::AnsiString S);
-
- public:
- __property TItemInfo * InfoItem[System::Integer Index] = {read=GetItemInfo};
- __property Classes::TList * InfoList = {read=FInfoList, nodefault};
- __property Comctrls::TListItems * Items = {read=FItems, nodefault};
- public:
- /* !! TForm.Create */ __fastcall virtual TListViewItems(Classes::TComponent *AOwner) : Forms::TForm(
- AOwner) { }
- /* !! TForm.CreateNew */ __fastcall TListViewItems(Classes::TComponent *AOwner, System::Integer Dummy
- ) : Forms::TForm(AOwner, Dummy) { }
- /* !! TForm.Destroy */ __fastcall virtual ~TListViewItems(void) { }
-
- };
-
- //-- var, const, procedure ---------------------------------------------------
- extern System::Boolean __fastcall EditListViewItems(Comctrls::TListItems *AItems);
-
- } /* namespace Itemedit */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Itemedit;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // ItemEdit
-