Examples Delphi

This is a quick way to hide your program's title bar:

procedure TForm1.FormCreate(Sender: TObject);
var
OldStyle : longint;
begin
OldStyle := GetWindowLong(Handle, GWL_STYLE);
SetWindowLong(Handle, GWL_STYLE, OldStyle and not WS_CAPTION );
ClientHeight := Height;
end;