Board index » delphi » Problem with showing Task Caption of form from dll called in host app

Problem with showing Task Caption of form from dll called in host app

I have a code which creates a form from a dll and show it outside the host
app. I would like to mimic the ms outlook that for every item of mails in
inbox, it can be exploded with another window and this window's caption
appears in the taskbar.

Thanks for any help.

 

Re:Problem with showing Task Caption of form from dll called in host app


Quote
In article <20011116034606.1CE07D80.NOF...@localhost.local>, Alex Deyto wrote:
> I have a code which creates a form from a dll and show it outside the host
> app. I would like to mimic the ms outlook that for every item of mails in
> inbox, it can be exploded with another window and this window's caption
> appears in the taskbar.

Override the DLL forms CreateParams method like this:

Procedure TFormXYZ.CreateParams( Var params: TCreateParams ); {override}
begin
  inherited CreateParams( params );
  params.ExStyle := params.ExStyle  or WS_EX_APPWINDOW;
end;

Peter Below (TeamB)  100113.1...@compuserve.com)
No e-mail responses, please, unless explicitly requested!
Note: I'm unable to visit the newsgroups every day at the moment,
so be patient if you don't get a reply immediately.

Other Threads