home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 1997 May
/
Pcwk0597.iso
/
borland
/
cb
/
setup
/
cbuilder
/
data.z
/
NODEEDIT.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-28
|
4KB
|
110 lines
//----------------------------------------------------------------------------
// NodeEdit.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: NodeEdit.pas
//----------------------------------------------------------------------------
#ifndef NodeEditHPP
#define NodeEditHPP
//----------------------------------------------------------------------------
#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 Nodeedit
{
//-- type declarations -------------------------------------------------------
class __declspec(delphiclass) TTreeViewItems;
class __declspec(pascalimplementation) TTreeViewItems : public Forms::TForm
{
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* Help;
Stdctrls::TEdit* SelectedIndex;
Stdctrls::TLabel* Label4;
Stdctrls::TButton* Load;
Dialogs::TOpenDialog* OpenDialog1;
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 ApplyClick(System::TObject* Sender);
void __fastcall TreeViewChange(System::TObject* Sender, Comctrls::TTreeNode* Node);
void __fastcall TreeViewChanging(System::TObject* Sender, Comctrls::TTreeNode* Node, bool &AllowChange
);
void __fastcall SelectedIndexExit(System::TObject* Sender);
void __fastcall LoadClick(System::TObject* Sender);
void __fastcall TreeViewDragOver(System::TObject* Sender, System::TObject* Source, int X, int Y, Controls::TDragState
State, bool &Accept);
void __fastcall TreeViewDragDrop(System::TObject* Sender, System::TObject* Source, int X, int Y);
void __fastcall TreeViewEdited(System::TObject* Sender, Comctrls::TTreeNode* Node, System::AnsiString &
S);
void __fastcall HelpClick(System::TObject* Sender);
void __fastcall FormCreate(System::TObject* Sender);
private:
Comctrls::TTreeNodes* FItems;
bool FDropping;
void __fastcall FlushControls(void);
void __fastcall SetItem(Comctrls::TTreeNode* Value);
void __fastcall SetStates(void);
public:
__property Comctrls::TTreeNodes* Items = {read=FItems, nodefault};
public:
/* TForm.Create */ __fastcall virtual TTreeViewItems(Classes::TComponent* AOwner) : Forms::TForm(AOwner
) { }
/* TForm.CreateNew */ __fastcall TTreeViewItems(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(
AOwner, Dummy) { }
/* TForm.Destroy */ __fastcall virtual ~TTreeViewItems(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TTreeViewItems(HWND ParentWindow) : Forms::TForm(ParentWindow
) { }
};
//-- var, const, procedure ---------------------------------------------------
extern bool __fastcall EditTreeViewItems(Comctrls::TTreeNodes* AItems);
} /* namespace Nodeedit */
#pragma warn .par
#pragma warn .hid
#pragma warn .inl
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Nodeedit;
#endif
//-- end unit ----------------------------------------------------------------
#endif // NodeEdit