CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2001
    Posts
    45

    Scrolling Text in Title Bar

    Can anyone please help me by giving me some help on how do i scroll text on the title bar of my MDI form.
    thanks in advance

    Aindril De

  2. #2
    Join Date
    Mar 1999
    Location
    Nepal
    Posts
    540

    Re: Scrolling Text in Title Bar


    private Sub Form_Load()
    Timer1.Interval = 200
    me.Caption = "Why in the world would you want to distract your users like this? "
    End Sub

    private Sub Timer1_Timer()
    Dim aStr as string
    aStr = me.Caption
    aStr = mid$(aStr, 2) & Left$(aStr, 1)
    me.Caption = aStr
    End Sub





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