Scrolling of a staic text
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Scrolling of a staic text

  1. #1
    Join Date
    Apr 2013
    Posts
    77

    Scrolling of a staic text

    Hi
    I am working on a win32 application.i want to load some file contents in to a window(or dialog box).
    So what i did is ,created a dialog box and inside that box on a static control using resource editor.and load the content on this static control using SetDlgItemText.But file content is more means i need a scrolling facility(static controls don't have a scroll bar style).So,a vertical scrollbar control also added on the dialog box now.But i dont know how to link the static text and vertical scrollbar control?is there any other easy methode is threr for my requirement?

    Thanks & Regards
    Manju

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,605

    Re: Scrolling of a staic text

    Did you consider using multiline read-only edit control instead?
    Victor Nijegorodov

  3. #3
    Join Date
    Nov 2000
    Location
    Voronezh, Russia
    Posts
    6,070

    Re: Scrolling of a staic text

    Quote Originally Posted by manjut19 View Post
    static controls don't have a scroll bar style
    Don't you think it's done on purpose?
    Best regards,
    Igor

  4. #4
    Join Date
    Apr 2013
    Posts
    77

    Re: Scrolling of a staic text

    Quote Originally Posted by VictorN View Post
    Did you consider using multiline read-only edit control instead?
    Ya that is good methode.I forgot about read-only edit control .thanks alot

    Thanks & Regards
    Manju

Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center