|
-
Sep 2nd, 2000, 06:58 AM
#1
Thread Starter
Junior Member
1.I am a nerd programmerin V.B.I require a program in v.b with coding to display moving messages on a text box.Is it possible,first of all,if so how?I thank any one one who gives me the coding for above problem.
I want to get a moving mesasage just as it is in normal marquee control present in microsoft windows screensaver.
I want to allow the user to give the message of his choice
as in normal screensaver control.
Any one with a solution can contact me at: [email protected]
-
Sep 2nd, 2000, 07:14 AM
#2
Fanatic Member
Right. You'll have to try to understand what I mean for this one:
Use a PictureBox instead of a textbox.
Set the PictureBox's BackColor to white so that it looks like a textbox.
Add another PictureBox and set it to AutoRedraw = True and Visible = False and BorderStyle = 0 and BackColor = White
Then put the text you want to scroll in the PictureBox so that it fits.
Then put BitBlt (vbSrcCopy) in an timer with a static variable which increments on every loop.
In the xSrc put the static variable. (You may have to change the increment rate/timer interval so that the spped is right)
Keep the nWidth and nHeight constant
I hope this helps,
Me.
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
|