Results 1 to 11 of 11

Thread: Scrolling Text

  1. #1

    Thread Starter
    Addicted Member Codehammer's Avatar
    Join Date
    Aug 2004
    Posts
    164

    Exclamation Scrolling Text

    WINAMP has this Feature to Scroll the Text That is shown in the Taskbar, i.e. the Song Name.

    How Does one do This with VB in Either a Title or Task Bar
    Curiosity SKILLED the cat
    Google Talk from your Mobile phone

    Chat from your mobile or get an emulator like J2ME Wireless Toolkit 2.2

  2. #2
    Frenzied Member ntg's Avatar
    Join Date
    Sep 2004
    Posts
    1,449

    Re: Scrolling Text

    Without really thinking this through, I would start a timer that would slowly change the displayed text over time - that would appear as scrolling.
    "Feel the force...read the source..."
    Utilities: POPFileDebugViewProcess ExplorerWiresharkKeePassUltraVNCPic2Ascii
    .Net tools & open source: DotNetNukelog4NetCLRProfiler
    My open source projects: Thales SimulatorEFT CalculatorSystem Info ReporterVSS2SVNIBAN Functions
    Customer quote: "If the server has a RAID array, why should we bother with backups?"
    Programmer quote: "I never comment my code. Something that is hard to write should be impossible to comprehend."
    Ignorant quote: "I have no respect for universities, as they teach not practicle stuff, and charge money for"

  3. #3
    Member
    Join Date
    Apr 2004
    Posts
    59

    Re: Scrolling Text

    This is ONE way of doing it.

    VB Code:
    1. Dim ExtraString As String
    2.  
    3.     Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
    4.         If ExtraString = "                    " Then
    5.             ExtraString = ""
    6.         Else
    7.             ExtraString += " "
    8.             Me.Text = ExtraString & "Form1"
    9.         End If
    10.     End Sub

  4. #4
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Scrolling Text

    If you want to do this nicely then you need to draw the text yourself. Its dead easy. I'll throw together a quick sample.

    Winamp does not use a normal form's task bar, al of its surface is drawn manually anyway.

    I'll use a picturebox to contain the scrolling.
    I don't live here any more.

  5. #5
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Scrolling Text

    Try this, it's by no means comprehensive but it scrolls nicely anyway.
    Attached Files Attached Files
    I don't live here any more.

  6. #6

    Thread Starter
    Addicted Member Codehammer's Avatar
    Join Date
    Aug 2004
    Posts
    164

    Re: Scrolling Text

    Wossname Da Man!
    Curiosity SKILLED the cat
    Google Talk from your Mobile phone

    Chat from your mobile or get an emulator like J2ME Wireless Toolkit 2.2

  7. #7
    Addicted Member
    Join Date
    Feb 2003
    Posts
    183

    Re: Scrolling Text

    That's nice of course, but what it really needs is clickable links in it

    Look into the heart of infinity and find your truth

    Colonel Tom Edwards: This is the most fantastic story I've ever heard
    Jeff Trent: And every word of it's true, too
    Colonel Tom Edwards: That's the fantastic part of it

    ROFL

  8. #8
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Scrolling Text

    You guys don't ask for much do you!

  9. #9
    Addicted Member
    Join Date
    Feb 2003
    Posts
    183

    Re: Scrolling Text

    Hehehe No fun if it's no challenge

    I was thinking of the scrolly-banner-news-type thing that you see on websites. Alas, I haven't got the time to tackle it at the moment.

    If noone comes up with it in the near future I will and post it here (promises, promises)
    Look into the heart of infinity and find your truth

    Colonel Tom Edwards: This is the most fantastic story I've ever heard
    Jeff Trent: And every word of it's true, too
    Colonel Tom Edwards: That's the fantastic part of it

    ROFL

  10. #10
    Addicted Member dani2's Avatar
    Join Date
    Feb 2005
    Location
    Sibiu.ro
    Posts
    191

    Re: Scrolling Text

    How 'bout some resize there? would be nicer
    Home is where your Head is

  11. #11
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: Scrolling Text

    Quote Originally Posted by dani2
    How 'bout some resize there? would be nicer
    So? Real programmers work it out for themselves
    I don't live here any more.

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