Pique
asked on
set an application like a backgroud procces
Hi Experts,
i have an application in the System Tray, and is working well, my problem is when tha application is running (every 20 minutes) the cursor change an is set like an hour glass of course. I don't want this, i wonder if exist a way to not show the hour glass cursor while the application is proccesing.
Thanks in advance. Sorry about my english.
i have an application in the System Tray, and is working well, my problem is when tha application is running (every 20 minutes) the cursor change an is set like an hour glass of course. I don't want this, i wonder if exist a way to not show the hour glass cursor while the application is proccesing.
Thanks in advance. Sorry about my english.
You have to call
application.processmessage s
in your functions.
application.processmessage
in your functions.
It could probably solve the problem, but it shouldn't be necessarily because the program is running in its own thread.
ASKER
Thanks Imagine. It works and Thanks PeterLarsen i want to know what do you mean and recommend of course if you have time, any way thanks. The program upload some information to a database from plain text files every 20 minutes. Also the program could show a Window but only if you want to call the procces in then middle of the period, but most of the the time the window is hide. In the other hand i have a function to animate the icon in the tray system while the upload process is running and of course it doesn't work because the program is busy in the process. Thank you.
No problem :-)
I need to know a few informations about your program :
How do you decide when its time to upload data - and how do you animate the icon (TTimer ?) ??
How do you decide when its time to upload data - and how do you animate the icon (TTimer ?) ??
ASKER
In both cases i use TTimer.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks a lot.
thanks
What does the program do ?