[Last Call] Learn how to a build a cloud-first strategyRegister Now

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

tray icon

I want my application only to be loaded in memory and so I don't want to see a dumb tray Icon and I neither want to see my main form. However I do need my main form so don't tell me to stop using forms.
0
zwarte
Asked:
zwarte
  • 2
1 Solution
 
jecksomCommented:
Hello zwarte !


  showwindow(application.handle,sw_hide);

Is it ?

Jecksom

0
 
jecksomCommented:
PS:
 showwindow(form1.handle,sw_hide);

will hide Form and leaves Icon ...


0
 
zwarteAuthor Commented:
good thing when you apply both in your on activate section of the mainform, then nothing is visible

Tnx
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

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