Board index » delphi » D1 - hiding taskbar icon

D1 - hiding taskbar icon

_______________________________________

I know an answer to this has been posted previously, but I didn't take note
at the time and it's no longer on the server.

How can I avoid a form - other than the main project form - generating a
taskbar icon when it's shown?

Regards ...
_________________________________________

  ?  Leigh Harrison      
  ?  tel +64 6 343 2671
  ?  fax +64 6 343 2649
  ?  mobile 025 933 913
  ?  email le...@radiOshop.co.nz
  ?  3 Iris Place Wanganui New Zealand
_________________________________________
                             radiOshop

 

Re:D1 - hiding taskbar icon


In article <01bcc90e$147d1c80$LocalHost@workroom>, "Leigh Harrison"

Quote
<le...@radioshop.co.nz> writes:
>How can I avoid a form - other than the main project form - generating a
>taskbar icon when it's shown?

In reference to a MODAL form being displayed additionally, Delphi Corner
at http\\:www.delumpa.com says to put :-

SetWindowLong(Application.Handle, GWL_STYLE,
GetWindowLong(Application.Handle, GWL_STYLE) or WS_CAPTION);

(as one line) into your project source.

Alan Lloyd
alangll...@aol.com

Other Threads