SimpleWindow
载入中...
搜索中...
未找到
sw::ScrollingEventArgs结构体 参考

窗口/面板滚动条滚动事件参数类型 更多...

#include <RoutedEventArgs.h>

类 sw::ScrollingEventArgs 继承关系图:
sw::RoutedEventArgsOfType< Layer_Scrolling > sw::RoutedEventArgs

Public 成员函数

 ScrollingEventArgs (ScrollOrientation scrollbar, ScrollEvent event, double pos)
 
- Public 成员函数 继承自 sw::RoutedEventArgsOfType< Layer_Scrolling >
- Public 成员函数 继承自 sw::RoutedEventArgs
 RoutedEventArgs (RoutedEventType eventType)
 RoutedEventArgs构造函数
 

Public 属性

bool cancel = false
 
ScrollOrientation scrollbar
 
ScrollEvent event
 
double pos
 
- Public 属性 继承自 sw::RoutedEventArgs
RoutedEventType eventType
 事件类型
 
bool handled = false
 事件是否已被处理,若将此字段设为true,则事件不会继续往上传递
 
bool handledMsg = false
 表示是否已处理事件所对应的Windows消息,对于部分消息将字段设为true可取消对DefaultWndProc的调用,若当前事件无对应消息则该字段无意义
 

额外继承的成员函数

- 静态 Public 属性 继承自 sw::RoutedEventArgsOfType< Layer_Scrolling >
static constexpr RoutedEventType EventType
 路由事件的类型,RegisterRoutedEvent模板函数使用此字段注册事件
 

详细描述

窗口/面板滚动条滚动事件参数类型


该结构体的文档由以下文件生成: