节点文献
VC++中CListBox水平滚动条智能化的实现
Implementation of Intelligent Horizontal Scrollbar about CListBox in VC++
【摘要】 在MFC中,用列表框来显示多个字符串是一种很方便的方法。但缺省的列表框水平滚动条不够智能,所以本文介绍了智能水平滚动条如何在应该出现的时候出现,不该出现的时候消失的方法和过程,且能根据显示的内容来自动调节自己大小。最后通过具体实例说明了存在的问题和解决办法。
【Abstract】 In MFC, showing a lot of strings by the listbox is a convenient method. But the default horizontal scrollbar in the listbox is not intelligent enough. A method and process of the intelligent horizontal scrollbar is introduced in this paper, which can apppear in the true time and disapppear in the wrong time, and adjust its size automatically according to the displaying content.In the last, the existing problem and the resolving method to the problem is given by the living example.
- 【文献出处】 电脑知识与技术 ,Computer Knowledge and Technology , 编辑部邮箱 ,2006年36期
- 【分类号】TP311.11
- 【下载频次】59