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
Re: Scrolling of a staic text
Did you consider using multiline read-only edit control instead?
Re: Scrolling of a staic text
Quote:
Originally Posted by
manjut19
static controls don't have a scroll bar style
Don't you think it's done on purpose?
Re: Scrolling of a staic text
Quote:
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