Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2007 Jun : Hiding icon on taskbar

www.cryer.info
Managed Newsgroup Archive

Hiding icon on taskbar

Subject:Hiding icon on taskbar
Posted by:"Russ" (nobo..@4pmsolutions.com)
Date:Thu, 7 Jun 2007 12:34:33

I have a tray app launcher that I always used the following code so it would
not have an icon on the taskbar.

  style:=getwindowlong(application.handle,gwl_exstyle);
  style:=style or ws_ex_toolwindow;
  style:=style and not ws_ex_appwindow;
  setwindowlong(application.handle,gwl_exstyle,style);

This has always worked until D2007.  I knew Codegear had some issues because
of the changes in forms.pas but was led to believe all would be fixed in
update 1.  Sadly update 1 does not help.

Does anybody know how to get my desired behavior back?

Russ

Replies:

www.cryer.info
Managed Newsgroup Archive