Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System Tray Icon Without Using Forms Unit?

Status
Not open for further replies.

ajbufort

Programmer
Apr 4, 2004
50
US
Hello All,

I am trying to write a program which has no forms, but places a small icon in the system tray. All of the examples I am seeing regarding system tray icons and Delphi are for apps using the FORMS unit. I do not wish to include this unit unless I absolutely have to, for size considerations. I want it to remain a PROGRAM.

How might this be accomplished?

Thanks,

-Tony
 
AJ-

Sorry, I wasn't trying to send you on a wild goose chase without reason... I coded it here and it works fine....

JGS

 
Buho:

I think it has something to do with Windows dispatching ... I actually tried it with sleep(0) which just causes task switch ... that works too.

JGS
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top