检索指向在属性网格控件的滚动条控件。
virtual CScrollBar* GetScrollBarCtrl(
int nBar
) const;
参数
- [in] nBar
滚动条的orientation,必须是 SB_VERT。
返回值
滚动条对象的指针或 NULL,如果没有滚动条或滚动条orientation是 SB_HORZ。
备注
使用此方法获取直接访问垂直滚动条控件。
要求
标头: afxpropertygridctrl.h
检索指向在属性网格控件的滚动条控件。
virtual CScrollBar* GetScrollBarCtrl(
int nBar
) const;
滚动条对象的指针或 NULL,如果没有滚动条或滚动条orientation是 SB_HORZ。
使用此方法获取直接访问垂直滚动条控件。
标头: afxpropertygridctrl.h