Google Search

Custom Search

Monday, July 5, 2010

Hiding Form Title Bar

Here are some example i know on how to hide your Title Bar, Hope this helps.

//// Declaration ////

protected
procedure CreateParams(var Params: TCreateParams); override;
private
{ Private declarations }
.......
.......

//// Codes ////

procedure Tform1.CreateParams(var Params: TCreateParams);
begin
inherited CreateParams(Params);
Params.Style := Params.Style and not WS_CAPTION or WS_POPUP;
end;

No comments:

Post a Comment