[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 147
  • Last Modified:

Hiding the Application

How can i hide the Application from Starting it ?
Without Showing it on the TaskBar (It should never be displayed)
0
snoopy_Spy
Asked:
snoopy_Spy
1 Solution
 
intheCommented:
hi,
to hide from taskbar do this on formcreate etc:

ShowWindow(Application.Handle, SW_HIDE);
SetWindowLong(Application.Handle, GWL_EXSTYLE,
  GetWindowLong(Application.Handle, GWL_EXSTYLE)
    or WS_EX_TOOLWINDOW and not WS_EX_APPWINDOW);


to hide the main form ,inside the project file before  the line Application.Run put the line :
Application.ShowMainForm := False
this stops the main form from ever being shown.

Regards Barry
0

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now