编辑控件的选框效果在mfc中 [英] Marquee effect for Edit Control In mfc

查看:67
本文介绍了编辑控件的选框效果在mfc中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Friends,

我已经制作了一个钢琴应用程序,其中按下的音符在滚动条的编辑控件中显示,但是我需要滚动条向前推进即将到来的文本即( Marquee效果),到目前为止我只搜索了Marquee效果进度条(CProgressBar)和(CTaskDialog)。它只限于这两个。

Hello Friends,
I have made a piano application in which the notes pressed are displaying in Edit Control with a scroll bar,But i need the scroll bar to advance forward with the upcoming text ie (Marquee effect),So far i have searched Marquee effect only for progress bar(CProgressBar) and (CTaskDialog) .Is it only limited for these two.

推荐答案

标准进度控件只显示一个彩色条,但你可以通过子类调整或从头开始创建自己的。或者,您可以向控件发送滚动消息以强制它移动文本。
The standard progress controls just show a coloured bar, but you could adapt one by subclassing or create your own from scratch. Alternatively you could send scroll messages to the control to force it to move the text.


这篇关于编辑控件的选框效果在mfc中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆