johannes
This way:
procedure TForm1.FormCreate(Sender: TObject);
begin
DeleteMenu(GetSystemMenu(Handle, False), SC_MOVE, MF_BYCOMMAND);
end;
Petr.
Morten,
add a handler for the WM_NCHITTEST message:
private
{ Private-Deklarationen }
Procedure WMNCHitTest( Var msg: TWMNCHitTest ); message WM_NCHITTEST;
Procedure TForm1.WMNCHitTest( Var msg: TWMNCHitTest );
Begin
inherited;
If msg.result = HTCAPTION Then
msg.result := HTNOWHERE;
End;
Peter Below (TeamB) 10011...@compuserve.com)
No replies in private e-mail, please, unless explicitly requested!
Sent using Virtual Access 5.00 - download your freeware copy now
http://www.atlantic-coast.com/downloads/vasetup.exe