|
-
Sep 26th, 2000, 04:10 PM
#1
Thread Starter
New Member
I'm writing an application for radio stations that puts commercial copy text on screen while production personnel produce the commercial.
I want this to scroll automatically in teleprompter fashion, rather than line at a time.
MSDN shows an API call that should do this named ScrollWindowEx, which, in the declaration, shows a flag at the end for a constant named SW_SMOOTHSCROLL. However, I can't find the constant value in the API guide from VB, nor have I found any examples on how to set the time frame for the scrolling action (MSDN says set it in the HIWORD portion of the flag, but I'm lost there!
If anyone has done any work with this call in this fashion, I'd love to hear about it.
ScootsMc
-
Oct 3rd, 2000, 11:02 AM
#2
Addicted Member
SmoothScroll
Just happend to be looking at the ScrollWindowsX command this morning. It's definition in the MSDN that comes with VB6 is this :
SW_SMOOTHSCROLL Windows NT 5.0 and later: Scrolls using smooth scrolling. Use the HIWORD portion of the flags parameter to indicate how much time the smooth-scrolling operation should take
So... Win2K only then.
you could just try looping by the font height in pixels and setting the dx or dy value to -1 or 1 (depending on which direction you want)
Good Luck.
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
|