Mega Code Archive

 
Categories / Delphi / Examples
 

Invisible titles

Looking for a quick way to hide your program's title bar? procedure TForm1.FormCreate(Sender: TObject); begin SetWindowLong( Handle, GWL_STYLE, GetWindowLong( Handle, GWL_STYLE ) and not WS_CAPTION ); ClientHeight := Height; end;