Windows with Delphi Windows API (94) Windows Filesystem (41) Windows Forms (69) Windows Graphics (38)
Exchange Links About this site Links to us 
|
Invisible title - hide the program's title bar
This article has not been rated yet. After reading, feel free to leave comments and rate it.
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; | |  | |  |
Comments:
|