联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 force the dropdown list of a combobox to - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为19221
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • PoolMan
  • Air Traffic Controller
  • virtualdub-win
  • CppUnit
  • Apache-SSL-Jserv
  • FCK editor
  • Async Professional
  • GLgraph
  • -= 更多 =-

    项目描述:
    This demo shows how to force the dropdown list of a combobox to the full height of all the items in the list. It's quite useful for short lists where you want all items visible, such as a list of all twelve months. Unfortunately, due to the way Windows is designed, obtaining the hWnd for the ComboLBox (the listbox that drops down) is impossible without subclassing the combo. This sample uses native VB5 subclassing (see HookMe), but could easily be converted to any subclassing control.

    这个例子演示了如何定制组合框的下拉列表的高度以显示全部的元素。当使用短列表框,但又想显示所有项目时(如一年中的12个月),这一功能很有用。不幸的是,由于Windows的设计方式,不子类化组合框就没有办法获得它的下拉列表的句柄hWnd 。这个例子使用了纯VB5子类化代码(参考hookMe),但可以容易地转换为子类化其它控件。
    来源: http://www.mvps.org/vb/
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    FullDrop  1.0  2004-04-18 下载

    原始下载连接(国外) http://www.mvps.org/vb/code/FullDrop.zip

      » 合 作 伙 伴