home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1997 May / VPR9705A.ISO / VPR_DATA / PROGRAM / CBTRIAL / SETUP / DATA.Z / NODEEDIT.HPP < prev    next >
C/C++ Source or Header  |  1997-02-14  |  4KB  |  110 lines

  1. //----------------------------------------------------------------------------
  2. // NodeEdit.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
  3. // From: NodeEdit.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef NodeEditHPP
  6. #define NodeEditHPP
  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 Nodeedit
  25. {
  26. //-- type declarations -------------------------------------------------------
  27. class __declspec(delphiclass) TTreeViewItems;
  28. class __declspec(pascalimplementation) TTreeViewItems : public Forms::TForm
  29. {
  30.     typedef Forms::TForm inherited;
  31.     
  32. __published:
  33.     Stdctrls::TGroupBox* GroupBox1;
  34.     Stdctrls::TGroupBox* PropGroupBox;
  35.     Stdctrls::TButton* New;
  36.     Stdctrls::TButton* Delete;
  37.     Stdctrls::TLabel* Label1;
  38.     Stdctrls::TLabel* Label2;
  39.     Stdctrls::TLabel* Label3;
  40.     Comctrls::TTreeView* TreeView;
  41.     Stdctrls::TButton* NewSub;
  42.     Stdctrls::TEdit* Text;
  43.     Stdctrls::TEdit* Image;
  44.     Stdctrls::TEdit* StateImage;
  45.     Stdctrls::TButton* Button4;
  46.     Stdctrls::TButton* Cancel;
  47.     Stdctrls::TButton* Apply;
  48.     Stdctrls::TButton* Help;
  49.     Stdctrls::TEdit* SelectedIndex;
  50.     Stdctrls::TLabel* Label4;
  51.     Stdctrls::TButton* Load;
  52.     Dialogs::TOpenDialog* OpenDialog1;
  53.     void __fastcall NewClick(System::TObject* Sender);
  54.     void __fastcall NewSubClick(System::TObject* Sender);
  55.     void __fastcall DeleteClick(System::TObject* Sender);
  56.     void __fastcall ValueChange(System::TObject* Sender);
  57.     void __fastcall TextExit(System::TObject* Sender);
  58.     void __fastcall ImageExit(System::TObject* Sender);
  59.     void __fastcall StateImageExit(System::TObject* Sender);
  60.     void __fastcall ApplyClick(System::TObject* Sender);
  61.     void __fastcall TreeViewChange(System::TObject* Sender, Comctrls::TTreeNode* Node);
  62.     void __fastcall TreeViewChanging(System::TObject* Sender, Comctrls::TTreeNode* Node, bool &AllowChange
  63.         );
  64.     void __fastcall SelectedIndexExit(System::TObject* Sender);
  65.     void __fastcall LoadClick(System::TObject* Sender);
  66.     void __fastcall TreeViewDragOver(System::TObject* Sender, System::TObject* Source, int X, int Y, Controls::TDragState 
  67.         State, bool &Accept);
  68.     void __fastcall TreeViewDragDrop(System::TObject* Sender, System::TObject* Source, int X, int Y);
  69.     void __fastcall TreeViewEdited(System::TObject* Sender, Comctrls::TTreeNode* Node,  System::AnsiString &
  70.         S);
  71.     void __fastcall HelpClick(System::TObject* Sender);
  72.     void __fastcall FormCreate(System::TObject* Sender);
  73.     
  74. private:
  75.     Comctrls::TTreeNodes* FItems;
  76.     bool FDropping;
  77.     void __fastcall FlushControls(void);
  78.     void __fastcall SetItem(Comctrls::TTreeNode* Value);
  79.     void __fastcall SetStates(void);
  80.     
  81. public:
  82.     __property Comctrls::TTreeNodes* Items = {read=FItems, nodefault};
  83. public:
  84.     /* TForm.Create */ __fastcall virtual TTreeViewItems(Classes::TComponent* AOwner) : Forms::TForm(AOwner
  85.         ) { }
  86.     /* TForm.CreateNew */ __fastcall TTreeViewItems(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(
  87.         AOwner, Dummy) { }
  88.     /* TForm.Destroy */ __fastcall virtual ~TTreeViewItems(void) { }
  89.     
  90. public:
  91.     /* TWinControl.CreateParented */ __fastcall TTreeViewItems(HWND ParentWindow) : Forms::TForm(ParentWindow
  92.         ) { }
  93.     
  94. };
  95.  
  96. //-- var, const, procedure ---------------------------------------------------
  97. extern bool __fastcall EditTreeViewItems(Comctrls::TTreeNodes* AItems);
  98.  
  99. }    /* namespace Nodeedit */
  100.  
  101. #pragma warn .par
  102. #pragma warn .hid 
  103. #pragma warn .inl
  104.  
  105. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  106. using namespace Nodeedit;
  107. #endif
  108. //-- end unit ----------------------------------------------------------------
  109. #endif    // NodeEdit
  110.