Delphi Tips&Tricks News   Tips   .NET Software   VCL Software   Search   Contacts
Ultimate Pack - special offer!

Ultimate Pack  hot!
Image Editor  new!
Runtime Fusion
Form Designer
Object Inspector
Print Suite Pro
Commented Image
Delphi Toys
WinDowse
Delphi Bonus
TMS Scripter Studio
Form Designer VB
Form Designer .NET

...get more...
for Delphi.NET, C#, VB.NET
for Delphi VCL, BCB 3-6

WinAPI Online
Unix Manual Pages
MegaDetailed.NET
in3steps.com
cdtrrracks.com new!

Blogspot  greatis.blogspot.com

Hide the form caption bar - Forms - Tips & Tricks - Greatis Delphi Pages

First af all, override the "CreateParams" method of your Form, by declaring this in either your Form's protected or public section:
procedure CreateParams(var Params: TCreateParams); override;
Then, in the actual CreateParams method, specify something like this:


procedure TForm1.CreateParams(var Params: TCreateParams);
begin
  inherited CreateParams(Params);
  with Params do
    Style:=(Style or WS_POPUP) and (not WS_DLGFRAME);
end;
Related chapters
Application

Related topics
Hide main form of the application
Hide forms and taskbar button

For more
Win32 programmer's reference

Download source