Results 1 to 2 of 2

Thread: moving message

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    16

    Cool

    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]

  2. #2
    Fanatic Member
    Join Date
    Apr 2000
    Location
    Whats a location?
    Posts
    516
    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.
    Courgettes.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width