Tobassum Munir
Tobassum Munir

Reputation: 405

How to create a form in a dll and have it show up in the taskbar?

I create a dll and insert in form i compile it successfully.

I Need Help?

The Form caption does not show in windows task bar.

Upvotes: 0

Views: 487

Answers (1)

Lars Truijens
Lars Truijens

Reputation: 43595

type
  TMyForm = class(TForm)
    protected
      procedure CreateParams(var Params: TCreateParams);
    end;

implementation

procedure TMyForm.CreateParams(var Params: TCreateParams);
begin
  ExStyle := ExStyle or WS_EX_APPWINDOW;
end; 

Upvotes: 3

Related Questions