-
January 14th, 2014, 02:13 AM
#1
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
-
January 14th, 2014, 02:38 AM
#2
Re: Scrolling of a staic text
Did you consider using multiline read-only edit control instead?
Victor Nijegorodov
-
January 14th, 2014, 06:19 AM
#3
Re: Scrolling of a staic text
Originally Posted by manjut19
static controls don't have a scroll bar style
Don't you think it's done on purpose?
Best regards,
Igor
-
January 14th, 2014, 06:45 AM
#4
Re: Scrolling of a staic text
Originally Posted by VictorN
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|