1. Home
  2. Computing & Technology
  3. Delphi Programming

Hide Title Bar

By , About.com Guide

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;
~~~~~~~~~~~~~~~~~~~~~~~~~

Delphi tips navigator:
» Convert a Mapped Drive to a Full UNC Path
« Disable ALT+TAB, CTRL+ESC, CTRL+ALT+DEL

Explore Delphi Programming
About.com Special Features

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming
  4. Coding Delphi Applications
  5. Delphi Tips and Tricks
  6. 2000 Delphi Tips
  7. Hide Title Bar

©2009 About.com, a part of The New York Times Company.

All rights reserved.