Professional Documents
Culture Documents
procedure TFormLogin.CreateParams(var Params: TCreateParams); begin inherited CreateParams(Params); with Params do Style := (Style or WS_POPUP) and (not WS_DLGFRAME); end; procedure TFormLogin.WMNCHitTest(var msg: TWMNCHitTest); begin inherited; with msg do if Result = htClient then Result := htCaption; end;