home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magazyn Internet 2000 May
/
MICD_2000_05.iso
/
CBuilder5
/
INSTALL
/
DATA1.CAB
/
Program_Built_Files
/
Include
/
Vcl
/
appevnts.hpp
< prev
next >
Wrap
C/C++ Source or Header
|
2000-02-01
|
5KB
|
133 lines
// Borland C++ Builder
// Copyright (c) 1995, 1999 by Borland International
// All rights reserved
// (DO NOT EDIT: machine generated header) 'AppEvnts.pas' rev: 5.00
#ifndef AppEvntsHPP
#define AppEvntsHPP
#pragma delphiheader begin
#pragma option push -w-
#pragma option push -Vx
#include <ActnList.hpp> // Pascal unit
#include <Forms.hpp> // Pascal unit
#include <Classes.hpp> // Pascal unit
#include <SysUtils.hpp> // Pascal unit
#include <Messages.hpp> // Pascal unit
#include <Windows.hpp> // Pascal unit
#include <SysInit.hpp> // Pascal unit
#include <System.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Appevnts
{
//-- type declarations -------------------------------------------------------
class DELPHICLASS TCustomApplicationEvents;
class PASCALIMPLEMENTATION TCustomApplicationEvents : public Classes::TComponent
{
typedef Classes::TComponent inherited;
private:
Actnlist::TActionEvent FOnActionExecute;
Actnlist::TActionEvent FOnActionUpdate;
Forms::TExceptionEvent FOnException;
Forms::TMessageEvent FOnMessage;
Classes::THelpEvent FOnHelp;
Classes::TNotifyEvent FOnHint;
Forms::TIdleEvent FOnIdle;
Classes::TNotifyEvent FOnDeactivate;
Classes::TNotifyEvent FOnActivate;
Classes::TNotifyEvent FOnMinimize;
Classes::TNotifyEvent FOnRestore;
Forms::TShortCutEvent FOnShortCut;
Forms::TShowHintEvent FOnShowHint;
void __fastcall DoActionExecute(Classes::TBasicAction* Action, bool &Handled);
void __fastcall DoActionUpdate(Classes::TBasicAction* Action, bool &Handled);
void __fastcall DoActivate(System::TObject* Sender);
void __fastcall DoDeactivate(System::TObject* Sender);
void __fastcall DoException(System::TObject* Sender, Sysutils::Exception* E);
void __fastcall DoIdle(System::TObject* Sender, bool &Done);
bool __fastcall DoHelp(Word Command, int Data, bool &CallHelp);
void __fastcall DoHint(System::TObject* Sender);
void __fastcall DoMessage(tagMSG &Msg, bool &Handled);
void __fastcall DoMinimize(System::TObject* Sender);
void __fastcall DoRestore(System::TObject* Sender);
void __fastcall DoShowHint(AnsiString &HintStr, bool &CanShow, Forms::THintInfo &HintInfo);
void __fastcall DoShortcut(Messages::TWMKey &Msg, bool &Handled);
protected:
__property Actnlist::TActionEvent OnActionExecute = {read=FOnActionExecute, write=FOnActionExecute}
;
__property Actnlist::TActionEvent OnActionUpdate = {read=FOnActionUpdate, write=FOnActionUpdate};
__property Classes::TNotifyEvent OnActivate = {read=FOnActivate, write=FOnActivate};
__property Classes::TNotifyEvent OnDeactivate = {read=FOnDeactivate, write=FOnDeactivate};
__property Forms::TExceptionEvent OnException = {read=FOnException, write=FOnException};
__property Forms::TIdleEvent OnIdle = {read=FOnIdle, write=FOnIdle};
__property Classes::THelpEvent OnHelp = {read=FOnHelp, write=FOnHelp};
__property Classes::TNotifyEvent OnHint = {read=FOnHint, write=FOnHint};
__property Forms::TMessageEvent OnMessage = {read=FOnMessage, write=FOnMessage};
__property Classes::TNotifyEvent OnMinimize = {read=FOnMinimize, write=FOnMinimize};
__property Classes::TNotifyEvent OnRestore = {read=FOnRestore, write=FOnRestore};
__property Forms::TShowHintEvent OnShowHint = {read=FOnShowHint, write=FOnShowHint};
__property Forms::TShortCutEvent OnShortCut = {read=FOnShortCut, write=FOnShortCut};
public:
__fastcall virtual TCustomApplicationEvents(Classes::TComponent* AOwner);
void __fastcall Activate(void);
void __fastcall CancelDispatch(void);
public:
#pragma option push -w-inl
/* TComponent.Destroy */ inline __fastcall virtual ~TCustomApplicationEvents(void) { }
#pragma option pop
};
class DELPHICLASS TApplicationEvents;
class PASCALIMPLEMENTATION TApplicationEvents : public TCustomApplicationEvents
{
typedef TCustomApplicationEvents inherited;
__published:
__property OnActionExecute ;
__property OnActionUpdate ;
__property OnActivate ;
__property OnDeactivate ;
__property OnException ;
__property OnIdle ;
__property OnHelp ;
__property OnHint ;
__property OnMessage ;
__property OnMinimize ;
__property OnRestore ;
__property OnShowHint ;
__property OnShortCut ;
public:
#pragma option push -w-inl
/* TCustomApplicationEvents.Create */ inline __fastcall virtual TApplicationEvents(Classes::TComponent*
AOwner) : TCustomApplicationEvents(AOwner) { }
#pragma option pop
public:
#pragma option push -w-inl
/* TComponent.Destroy */ inline __fastcall virtual ~TApplicationEvents(void) { }
#pragma option pop
};
//-- var, const, procedure ---------------------------------------------------
} /* namespace Appevnts */
#if !defined(NO_IMPLICIT_NAMESPACE_USE)
using namespace Appevnts;
#endif
#pragma option pop // -w-
#pragma option pop // -Vx
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // AppEvnts