Class TmdMsgComponent (unit mdMsgCmp)

Inherits from

TComponent

Constructors


Constructor Create(AOwner : TComponent);

.


Functions

Destructor Destroy;

Search for the form which the component is placed on

Function FindForm(AComponent : TComponent) : TForm;

Search for a form in the direct list of owners.

Procedure Loaded;

Remove all event acknowledgesments to this component

Procedure RemoveHook(Handle : THandle);

.

Procedure SetHandleWithoutCheck(Value : THandle);

Do it in loaded

Procedure SetHook(Handle : THandle);

If a extra hook is needed.

Procedure SetHandle(Value : THandle);


Properties

property Handle : THandle


property ParentForm : TForm


Events

Variables

FForm : TForm;


FHandle : THandle;



Constructors


Constructor Create(AOwner : TComponent);

..................................................................


Functions


Destructor Destroy;

Search for the form which the component is placed on


Function FindForm(AComponent : TComponent) : TForm;

Search for a form in the direct list of owners....


Procedure Loaded;

Remove all event acknowledgesments to this component


Procedure RemoveHook(Handle : THandle);

... it can also be removed again


Procedure SetHandleWithoutCheck(Value : THandle);

Do it in loaded


Procedure SetHook(Handle : THandle);

If a extra hook is needed...


Procedure SetHandle(Value : THandle);


Properties


property Handle : THandle


property ParentForm : TForm


Events


Variables


FForm : TForm;


FHandle : THandle;