开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜