发送SBM_SETSCROLLINFO 消息以设置滚动条的参数。 应用程序不应直接发送此消息。 相反,它们应使用 SetScrollInfo 函数。 窗口通过其 WindowProc 函数接收此消息。 实现自定义滚动条控件的应用程序必须响应这些消息, SetScrollInfo 函数才能正常运行。 参数 wParam 指定是否重绘滚动条以反映新的滚动框位置。 如果此参数为...
SBM_SETSCROLLINFO wParam = (WPARAM) fRedraw; lParam = (LPARAM) (LPSCROLLINFO) lpsi; Parameters fRedraw Boolean value that specifies whether the scroll bar is redrawn to reflect the new scroll box position. If set to TRUE, the scroll bar is redrawn. If set to FALSE, the scroll bar ...
In Windows CE 2.0, if you pass a null pointer in the lpsi parameter (lParam), SBM_SETSCROLLINFO returns zero, rather than the current position of the scroll box. For Windows CE 2.10 and later, the current position of the scroll box is returned....
SBM_SETSCROLLINFO消息 Microsoft Ignite 2024 年 11 月 19 日至 22 日 立即注册 消除警报 Learn 登录 Windows 应用开发 探究 开发 平台 故障排除 资源 仪表板 此主题的部分內容可能由机器或 AI 翻译。 消除警报 关于常用控件 控件消息 自定义控件 为控件创建子类...
发送SBM_SETSCROLLINFO 消息以设置滚动条的参数。应用程序不应直接发送此消息。 相反,它们应使用 SetScrollInfo 函数。 窗口通过其 WindowProc 函数接收此消息。 实现自定义滚动条控件的应用程序必须响应这些消息, SetScrollInfo 函数才能正常运行。参数wParam 指定是否重绘滚动条以反映新的滚动框位置。 如果此参数为 ...
This message is sent by an application to set the parameters of a scroll bar.複製 SBM_SETSCROLLINFO wParam = (WPARAM)fRedraw;lParam = (LPARAM) (LPSCROLLINFO)lpsi; ParametersfRedraw Boolean value that specifies whether the scroll bar is redrawn to reflect the new scroll box position. If ...
SBM_SETSCROLLINFO wParam = (WPARAM) fRedraw; lParam = (LPARAM) (LPSCROLLINFO) lpsi; Parameters fRedraw Boolean value that specifies whether the scroll bar is redrawn to reflect the new scroll box position. If set to TRUE, the scroll bar is redrawn. If set to FALSE, the scroll bar is...
SBM_SETSCROLLINFO wParam = (WPARAM)fRedraw;lParam = (LPARAM) (LPSCROLLINFO)lpsi; Parameters fRedraw Boolean value that specifies whether the scroll bar is redrawn to reflect the new scroll box position. If set to TRUE, the scroll bar is redrawn. If set to FALSE, the scroll bar is not...
This message is sent by an application to set the parameters of a scroll bar. Syntax SBM_SETSCROLLINFO wParam = (WPARAM) fRedraw; lParam = (LPARAM) (LPSCROLLINFO) lpsi; Parameters fRedraw Boolean value that specifies whether the scroll bar is redrawn to reflect the new scroll box position...