Scalabium Software

SMExport advertising
Knowledge for your independence'.
Home Delphi and C++Builder tips


#96: How can I hide an application from Windows TaskBar?

If you needs to hide the own application from Windows Taskbar, you can use the next procedure:

procedure TForm1.FormCreate(Sender: TObject);
begin
  ShowWindow(Application.Handle, SW_HIDE);

  SetWindowLong(Application.Handle, GWL_EXSTYLE,
          GetWindowLong(Application.Handle, GWL_EXSTYLE) or WS_EX_TOOLWINDOW);

  ShowWindow(Application.Handle, SW_SHOW);
end;


Published: September 19, 2000

See also
 
DBISAM Viewer
ABA Spreadsheet Convert
Clarion to Text converter/a>
SMExport suite
Paradox Viewer
dBase Viewer
Excel Reader (dll)
Paradox to Text converter
ABA Document Convert
Mail parser (ActiveX)
 
 


Contact to webmaster

 

Borland Software Code Gear Scalabium Delphi tips

Copyright© 1998-2017, Scalabium Software. All rights reserved.
webmaster@scalabium.com

SMReport Autogenerated