(Gast)
n/a Beiträge
|
Re: Testen, ob Maus Form verlassen hat
25. Apr 2006, 16:04
Hallo,
probiere es einmal mit
Delphi-Quellcode:
unit Unit1;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs;
type
TForm1 = class(TForm)
private
{ Private-Deklarationen }
public
{ Public-Deklarationen }
procedure WndProc( var Msg: TMessage); override;
end;
var
Form1: TForm1;
implementation
{$R *.dfm}
procedure TForm1.WndProc( var Msg: TMessage);
begin
inherited;
if Msg.Msg = CM_MOUSELEAVE then begin
//DO SOMETHING
end;
end;
end.
|
|
Zitat
|