home *** CD-ROM | disk | FTP | other *** search
/ CD Actual 9 / CDACTUAL9.iso / progs / CB / DATA.Z / NODEEDIT.HPP < prev    next >
Encoding:
C/C++ Source or Header  |  1996-11-06  |  4.1 KB  |  135 lines

  1. //----------------------------------------------------------------------------
  2. // NodeEdit.hpp - dcc32 generated hdr (DO NOT EDIT) rev: -2
  3. // From: NodeEdit.pas
  4. //----------------------------------------------------------------------------
  5. #ifndef NodeEditHPP
  6. #define NodeEditHPP
  7. //----------------------------------------------------------------------------
  8. #ifndef LibHelpHPP
  9. #include <LibHelp.hpp>
  10. #endif
  11.  
  12. #ifndef ComCtrlsHPP
  13. #include <ComCtrls.hpp>
  14. #endif
  15.  
  16. #ifndef StdCtrlsHPP
  17. #include <StdCtrls.hpp>
  18. #endif
  19.  
  20. #ifndef DialogsHPP
  21. #include <Dialogs.hpp>
  22. #endif
  23.  
  24. #ifndef FormsHPP
  25. #include <Forms.hpp>
  26. #endif
  27.  
  28. #ifndef ControlsHPP
  29. #include <Controls.hpp>
  30. #endif
  31.  
  32. #ifndef GraphicsHPP
  33. #include <Graphics.hpp>
  34. #endif
  35.  
  36. #ifndef ClassesHPP
  37. #include <Classes.hpp>
  38. #endif
  39.  
  40. #ifndef MessagesHPP
  41. #include <Messages.hpp>
  42. #endif
  43.  
  44. #ifndef WindowsHPP
  45. #include <Windows.hpp>
  46. #endif
  47.  
  48. #ifndef SysUtilsHPP
  49. #include <SysUtils.hpp>
  50. #endif
  51.  
  52. #ifndef SystemHPP
  53. #include <System.hpp>
  54. #endif
  55.  
  56. namespace Nodeedit
  57. {
  58. //-- type declarations -------------------------------------------------------
  59. class __declspec(delphiclass) TTreeViewItems;
  60. class __declspec(pascalimplementation) TTreeViewItems : public Forms::TForm
  61. {
  62.     typedef TTreeViewItems ThisClass;
  63.     typedef Forms::TForm inherited;
  64.     
  65. __published:
  66.     Stdctrls::TGroupBox *GroupBox1;
  67.     Stdctrls::TGroupBox *PropGroupBox;
  68.     Stdctrls::TButton *New;
  69.     Stdctrls::TButton *Delete;
  70.     Stdctrls::TLabel *Label1;
  71.     Stdctrls::TLabel *Label2;
  72.     Stdctrls::TLabel *Label3;
  73.     Comctrls::TTreeView *TreeView;
  74.     Stdctrls::TButton *NewSub;
  75.     Stdctrls::TEdit *Text;
  76.     Stdctrls::TEdit *Image;
  77.     Stdctrls::TEdit *StateImage;
  78.     Stdctrls::TButton *Button4;
  79.     Stdctrls::TButton *Cancel;
  80.     Stdctrls::TButton *Apply;
  81.     Stdctrls::TButton *Help;
  82.     Stdctrls::TEdit *SelectedIndex;
  83.     Stdctrls::TLabel *Label4;
  84.     Stdctrls::TButton *Load;
  85.     Dialogs::TOpenDialog *OpenDialog1;
  86.     void __fastcall NewClick(System::TObject *Sender);
  87.     void __fastcall NewSubClick(System::TObject *Sender);
  88.     void __fastcall DeleteClick(System::TObject *Sender);
  89.     void __fastcall ValueChange(System::TObject *Sender);
  90.     void __fastcall TextExit(System::TObject *Sender);
  91.     void __fastcall ImageExit(System::TObject *Sender);
  92.     void __fastcall StateImageExit(System::TObject *Sender);
  93.     void __fastcall ApplyClick(System::TObject *Sender);
  94.     void __fastcall TreeViewChange(System::TObject *Sender, Comctrls::TTreeNode *Node);
  95.     void __fastcall TreeViewChanging(System::TObject *Sender, Comctrls::TTreeNode *Node, System::Boolean 
  96.         &AllowChange);
  97.     void __fastcall SelectedIndexExit(System::TObject *Sender);
  98.     void __fastcall LoadClick(System::TObject *Sender);
  99.     void __fastcall TreeViewDragOver(System::TObject *Sender, System::TObject *Source, System::Integer 
  100.         X, System::Integer Y, Controls::TDragState State, System::Boolean &Accept);
  101.     void __fastcall TreeViewDragDrop(System::TObject *Sender, System::TObject *Source, System::Integer 
  102.         X, System::Integer Y);
  103.     void __fastcall TreeViewEdited(System::TObject *Sender, Comctrls::TTreeNode *Node,  System::AnsiString &
  104.         S);
  105.     void __fastcall HelpClick(System::TObject *Sender);
  106.     void __fastcall FormCreate(System::TObject *Sender);
  107.     
  108. private:
  109.     Comctrls::TTreeNodes *FItems;
  110.     System::Boolean FDropping;
  111.     void __fastcall FlushControls(void);
  112.     void __fastcall SetItem(Comctrls::TTreeNode *Value);
  113.     void __fastcall SetStates(void);
  114.     
  115. public:
  116.     __property Comctrls::TTreeNodes * Items = {read=FItems, nodefault};
  117. public:
  118.     /* !! TForm.Create */ __fastcall virtual TTreeViewItems(Classes::TComponent *AOwner) : Forms::TForm(
  119.         AOwner) { }
  120.     /* !! TForm.CreateNew */ __fastcall TTreeViewItems(Classes::TComponent *AOwner, System::Integer Dummy
  121.         ) : Forms::TForm(AOwner, Dummy) { }
  122.     /* !! TForm.Destroy */ __fastcall virtual ~TTreeViewItems(void) { }
  123.     
  124. };
  125.  
  126. //-- var, const, procedure ---------------------------------------------------
  127. extern System::Boolean __fastcall EditTreeViewItems(Comctrls::TTreeNodes *AItems);
  128.  
  129. }    /* namespace Nodeedit */
  130. #if !defined(NO_IMPLICIT_NAMESPACE_USE)
  131. using namespace Nodeedit;
  132. #endif
  133. //-- end unit ----------------------------------------------------------------
  134. #endif    // NodeEdit
  135.