在组合框/列表框中启用鼠标滚轮滚动 [英] Enable mouse wheel scrolling in combobox/listbox
问题描述
我需要更新版本的Office才能获得此功能,还是可以编码的?
如果使用32位Windows,则使用下面页面上的WIN32 API调用的 PETER THORNTON 解决方案将有助于:
MSDN论坛 - Visual Basic应用程序:在Excel 2010中的UserForm ListBox中的鼠标滚动
该页面上的OP使用Excel 2010,但它是API电话做这个工作,只要你使用32位Windows,那么这也应该适合你。
Philip
I am building a userform in Excel 2007 using VBA and would like to know how to enable mouse wheel scrolling of comboboxes and listboxes.
Do I need a more recent version of Office to get this feature or is it something that can be coded for?
if using 32-bit Windows then the solutions by PETER THORNTON using WIN32 API calls on the below page will help:
MSDN Forums - Visual Basic For Applications: Mouse scroll in UserForm ListBox in Excel 2010
The OP on that page was using Excel 2010 but as it's API calls doing the work, so long as you are using 32-bit Windows then that should work for you too.
Philip
这篇关于在组合框/列表框中启用鼠标滚轮滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!