|
-
Feb 11th, 2001, 11:41 PM
#1
Thread Starter
Addicted Member
Number 1...
How can I scroll text across a screen (like a screen saver) without the flicker? I've tried a timer control and a for loop...
Number 2...
What's the best way to add a pause in an application? Not necessarily waiting on anything in particular, just say I want to do something then wait 3 or 4 seconds to do something else...
These are easy enough right??
"Don't take life too seriously, you'll never get out alive"
from Van Wilder
-
Feb 12th, 2001, 12:02 AM
#2
PowerPoster
Numer 1
This might help http://www.vb-world.net/controls/tip516.html
Numer 2
Use SleepEx Api call. It will suspend the execution of the program for the desired time while passing the control in between to the operating systgem to do other pending works.
-
Feb 12th, 2001, 10:48 AM
#3
Thread Starter
Addicted Member
I tried that 'LockWindowUpdate' function, but, unless I'm using it wrong, that keeps a text box from being updated at all. I need it to move from the left side of a form to the right side of a form, with an animation-like appearance, but no flicker...
Am I just using the function wrong? Still in the learning stages of programming... Need help... Or a gun...
Thanks anybody.......
"Don't take life too seriously, you'll never get out alive"
from Van Wilder
-
Feb 17th, 2001, 03:53 AM
#4
PowerPoster
Try using api calls for moving the control instaed of inbuilt VB functions. You might have too many controls on the form or may be having insufficient RAM in you machine.
-
Feb 17th, 2001, 03:59 AM
#5
If it's just text you are trying to move, put it in a label and move it.
just a thought, but you might consider painting the text directly onto the form using a bitblt, and not worry about a control. Bitblt is the fastest way in windows to show anything. This method is guaranteed not to flicker.
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
|