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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System Tray Application

Status
Not open for further replies.

itflash

Programmer
Jul 18, 2001
535
GB

Hi all

Just writing a small system tray application but run into a problem - probably simply overlooking something.


The application has screen=off in config.fpw

Then the startup code has the following:

Code:
DO environsettings.prg  

x = NEWOBJECT('systray', 'systray.vcx')
x.IconFile 	= "test1.ico"
x.TipText 	= "Taskbar Icon example"
x.MenuText 	= "Systray_shortcut.mpr"
x.MenuTextIsMPR = .T.
x.AddIconToSystray() 

READ EVENTS
DO exitapp.prg

The problem is that the menu is available, but when I use other applications or do something else, the menu is no longer available.

Any ideas

Thanks
ITflash

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top