home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DOS/V Power Report 1997 May
/
VPR9705A.ISO
/
VPR_DATA
/
PROGRAM
/
CBTRIAL
/
SETUP
/
DATA.Z
/
STREDIT.HPP
< prev
next >
Wrap
C/C++ Source or Header
|
1997-02-14
|
3KB
|
100 lines
//----------------------------------------------------------------------------
// StrEdit.hpp - bcbdcc32 generated hdr (DO NOT EDIT) rev: 0
// From: StrEdit.pas
//----------------------------------------------------------------------------
#ifndef StrEditHPP
#define StrEditHPP
//----------------------------------------------------------------------------
#include <Menus.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <StdCtrls.hpp>
#include <DsgnIntf.hpp>
#include <Dialogs.hpp>
#include <Buttons.hpp>
#include <Controls.hpp>
#include <Forms.hpp>
#include <Graphics.hpp>
#include <Classes.hpp>
#include <Windows.hpp>
#include <System.hpp>
#pragma warn -par
#pragma warn -hid
#pragma warn -inl
namespace Stredit
{
//-- type declarations -------------------------------------------------------
class __declspec(delphiclass) TStrEditDlg;
class __declspec(pascalimplementation) TStrEditDlg : public Forms::TForm
{
typedef Forms::TForm inherited;
__published:
Stdctrls::TLabel* LineCount;
Stdctrls::TButton* CodeWndBtn;
Dialogs::TOpenDialog* OpenDialog;
Dialogs::TSaveDialog* SaveDialog;
Stdctrls::TButton* HelpButton;
Stdctrls::TButton* OKButton;
Stdctrls::TButton* CancelButton;
Comctrls::TRichEdit* Memo;
Menus::TPopupMenu* StringEditorMenu;
Menus::TMenuItem* LoadItem;
Menus::TMenuItem* SaveItem;
Menus::TMenuItem* CodeEditorItem;
void __fastcall FileOpen(System::TObject* Sender);
void __fastcall FileSave(System::TObject* Sender);
void __fastcall UpdateStatus(System::TObject* Sender);
void __fastcall FormCreate(System::TObject* Sender);
void __fastcall Memo1KeyDown(System::TObject* Sender, Word &Key, Classes::TShiftState Shift);
void __fastcall HelpButtonClick(System::TObject* Sender);
void __fastcall CodeWndBtnClick(System::TObject* Sender);
private:
System::AnsiString SingleLine;
System::AnsiString MultipleLines;
bool FModified;
public:
/* TForm.Create */ __fastcall virtual TStrEditDlg(Classes::TComponent* AOwner) : Forms::TForm(AOwner
) { }
/* TForm.CreateNew */ __fastcall TStrEditDlg(Classes::TComponent* AOwner, int Dummy) : Forms::TForm(
AOwner, Dummy) { }
/* TForm.Destroy */ __fastcall virtual ~TStrEditDlg(void) { }
public:
/* TWinControl.CreateParented */ __fastcall TStrEditDlg(HWND ParentWindow) : Forms::TForm(ParentWindow
) { }
};
class __declspec(delphiclass) TStringListProperty;
class __declspec(pascalimplementation) TStringListProperty : public Dsgnintf::TClassProperty
{
typedef Dsgnintf::TClassProperty inherited;
public:
virtual Dsgnintf::TPropertyAttributes __fastcall GetAttributes(void);
virtual void __fastcall Edit(void);
public:
/* TPropertyEditor.Destroy */ __fastcall virtual ~TStringListProperty(void) { }
public:
/* TObject.Create */ __fastcall TStringListProperty(void) : Dsgnintf::TClassProperty() { }
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Stredit */
#pragma warn .par
#pragma warn .hid
#pragma warn .inl
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Stredit;
#endif
//-- end unit ----------------------------------------------------------------
#endif // StrEdit