General information
Category:
Coding, syntax & commands
Title:
Background program steals window focus
I have created a program in VFP that does not have any forms and does not use the VFP desktop. It is scheduled to run every few minutes in the background with Windows Scheduler to check for data changes at a remote site. It works fine. However, each time it runs it takes away the window focus from any other VFP program which happens to be running at the time.
To get it to run unseen, I am using SCREEN=OFF in a config.vfp file which is called at run time.
Can anyone help with how to write the code so the window focus is not taken away from other VFP programs when the background program runs.
Thanks....
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only