|
-
Sep 25th, 2000, 02:08 AM
#1
Thread Starter
Member
Hi all,
I'm trying to make a program that changes the wall paper at set periods of time (don't ask why hehe). The problem is that if I loop it to check the time, it locks the process up and I can't quit it. Is there an API or some other way where I can get it to constantly moniter the time while I can still operate GUI of the form?
ie... the on button starts the loop
but I need to press the off button to stop it... and when it's alreayd looping it won't let me touch anything else.
Any suggestions?
-
Sep 25th, 2000, 02:11 AM
#2
New Member
1. solution: you could use DoEvents to free process.
2. sol: use a timer! a timer runs in background, so youre still able to perform other commands
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|