Tuesday, March 1, 2011

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).

0 comments:

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Design by Kang Iwan K-sev | Thank's for your visit To My Site - Ridwan Mulyana | Cibeureum