Mega Code Archive

 
Categories / Delphi / Examples
 

Invisible title - hide the programs title bar [second possibility]

This is a another way to hide your program's title bar: Override the CreateParams method as shown here: { private Deklaration } procedure CreateParams(var Params : TCreateParams); override; ... procedure TForm1.CreateParams(var Params : TCreateParams); begin inherited Createparams(Params); with Params do Style := (Style or WS_POPUP) and not WS_DLGFRAME; end;