是否可以自定义Windows富文本框的滚动条? [英] Is it possible to customize scroll bar of Windows rich text box?
问题描述
有人可以指向MSDN链接,其中有一个函数/示例/ WINDOWS消息列表,我需要处理这些消息以自定义滚动条吗?
我正在使用C ++ Win32 / MFC。
Sameer Thigale
感谢您在此处发帖。
您想要处理滚动条的自定义选项是什么?如果你想改变滚动条的样式,比如
水平, 垂直,两者都没有,t 这里有
RichTextBoxScrollBars Enumeration 为您指定类型滚动条以在RichTextBox控件中显示。
还有一些方法可以使用其他控件或数据自定义富文本框。
https://support.office.com/en-我们/条/途径对定义-A-富文本框,F9D7D48B-CDAA-4124-AE3B-352920C71EBD
块引用>
Can someone please point me to the MSDN link where there is a list of functions / examples / WINDOWS messages which I need to handle to customize the scroll bar?
I'm using C++ Win32 / MFC.
Sameer Thigale
解决方案Thanks for posting here.
Which customize option you mean to handle scroll bar? If you want change the style of the scroll bar, like Horizontal, Vertical, both or none, there has RichTextBoxScrollBars Enumeration for you to specify the type of scroll bars to display in a RichTextBox control.
There also some ways to customize a rich text box with other controls or data.
这篇关于是否可以自定义Windows富文本框的滚动条?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!