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;
Listing #1 : Delphi code. Download
hidetitl (0.28 KB).
Applicable Keywords : Delphi, Delphi 2.x, Delphi 3.x, Functions, User Interface, Win32