CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Guest

    Scrolling a text pixel by pixel

    hello,

    I want to show a sentence in my form (in a text box or a caption) and scroll it pixel by pixel.

    thank you for helping me !


  2. #2
    Join Date
    May 1999
    Location
    Omika, Japan
    Posts
    729

    Re: Scrolling a text pixel by pixel


    You could use a Marquee control. (\windows\system\Marquee.ocx)

    If you want more: Try this idea:
    Put a text box or picture box on a form. ( Form itself will do!)
    Create a compatible DC in memory, write text into this memoryDC and on regular intervels BitBlt from this DC, portions of the image, in such a way as to give scrolling effect. You can make it go all around, if you please!!
    Ravi


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

Featured