scroll bar in mfc
how to add Scroll开发者_如何学Go bar to a static text in MFC dialog box
A static can't have a scroll bar. If you mean a read-only edit box, just turn it on in the resource editor.
Yes it is possible to create a scroll bar with static text control.
First you should add dialog box one scorll bar and one static text control.
step1: Set scroll positon or set scroll range of scroll bar
step2:create a member variable of static text
step3:static text member variable assigend getscrollrange of scroll bar
using cstring to int ie.means cstring to convert int format.viceversa
精彩评论