函数 | |
HELE WINAPI | XSBar_Create (int x, int y, int cx, int cy, HXCGUI hParent) |
滚动条_创建 创建滚动条元素. 更多... | |
void WINAPI | XSBar_SetRange (HELE hEle, int range) |
滚动条_置范围 设置滚动范围. 更多... | |
int WINAPI | XSBar_GetRange (HELE hEle) |
滚动条_取范围 获取滚动范围. 更多... | |
void WINAPI | XSBar_ShowButton (HELE hEle, BOOL bShow) |
滚动条_显示上下按钮 显示隐藏滚动条上下按钮. 更多... | |
void WINAPI | XSBar_SetSliderLength (HELE hEle, int length) |
滚动条_置滑块长度 设置滑块长度. 更多... | |
void WINAPI | XSBar_SetSliderMinLength (HELE hEle, int minLength) |
滚动条_置滑块最小长度 设置滑块最小长度. 更多... | |
void WINAPI | XSBar_SetSliderPadding (HELE hEle, int nPadding) |
滚动条_置滑块两边间隔 设置滑块两边的间隔大小. 更多... | |
BOOL WINAPI | XSBar_EnableHorizon (HELE hEle, BOOL bEnable) |
滚动条_启用水平 设置水平或者垂直. 更多... | |
int WINAPI | XSBar_GetSliderMaxLength (HELE hEle) |
滚动条_取滑块最大长度 获取滑块最大长度. 更多... | |
BOOL WINAPI | XSBar_ScrollUp (HELE hEle) |
滚动条_向上滚动 向上滚动. 更多... | |
BOOL WINAPI | XSBar_ScrollDown (HELE hEle) |
滚动条_向下滚动 向下滚动. 更多... | |
BOOL WINAPI | XSBar_ScrollTop (HELE hEle) |
滚动条_滚动到顶部 滚动到顶部. 更多... | |
BOOL WINAPI | XSBar_ScrollBottom (HELE hEle) |
滚动条_滚动到底部 滚动到底部. 更多... | |
BOOL WINAPI | XSBar_ScrollPos (HELE hEle, int pos) |
滚动条_滚动到指定位置 滚动到指定位置点 ,触发事件 XE_SBAR_SCROLL , 更多... | |
HELE WINAPI | XSBar_GetButtonUp (HELE hEle) |
滚动条_取上按钮 获取上按钮. 更多... | |
HELE WINAPI | XSBar_GetButtonDown (HELE hEle) |
滚动条_取下按钮 获取下按钮. 更多... | |
HELE WINAPI | XSBar_GetButtonSlider (HELE hEle) |
滚动条_取滑块 获取滑动按钮. 更多... | |
HELE WINAPI XSBar_Create | ( | int | x, |
int | y, | ||
int | cx, | ||
int | cy, | ||
HXCGUI | hParent | ||
) |
滚动条_创建 创建滚动条元素.
x | 元素x坐标. |
y | 元素y坐标. |
cx | 宽度. |
cy | 高度. |
hParent | 父是窗口资源句柄或UI元素资源句柄.如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素. |
BOOL WINAPI XSBar_EnableHorizon | ( | HELE | hEle, |
BOOL | bEnable | ||
) |
HELE WINAPI XSBar_GetButtonDown | ( | HELE | hEle | ) |
HELE WINAPI XSBar_GetButtonSlider | ( | HELE | hEle | ) |
HELE WINAPI XSBar_GetButtonUp | ( | HELE | hEle | ) |
int WINAPI XSBar_GetRange | ( | HELE | hEle | ) |
int WINAPI XSBar_GetSliderMaxLength | ( | HELE | hEle | ) |
BOOL WINAPI XSBar_ScrollBottom | ( | HELE | hEle | ) |
BOOL WINAPI XSBar_ScrollDown | ( | HELE | hEle | ) |
BOOL WINAPI XSBar_ScrollPos | ( | HELE | hEle, |
int | pos | ||
) |
BOOL WINAPI XSBar_ScrollTop | ( | HELE | hEle | ) |
BOOL WINAPI XSBar_ScrollUp | ( | HELE | hEle | ) |
void WINAPI XSBar_SetRange | ( | HELE | hEle, |
int | range | ||
) |
滚动条_置范围 设置滚动范围.
hEle | 元素句柄. |
range | 范围. |
void WINAPI XSBar_SetSliderLength | ( | HELE | hEle, |
int | length | ||
) |
滚动条_置滑块长度 设置滑块长度.
hEle | 元素句柄. |
length | 长度. |
void WINAPI XSBar_SetSliderMinLength | ( | HELE | hEle, |
int | minLength | ||
) |
滚动条_置滑块最小长度 设置滑块最小长度.
hEle | 元素句柄. |
minLength | 长度. |
void WINAPI XSBar_SetSliderPadding | ( | HELE | hEle, |
int | nPadding | ||
) |
滚动条_置滑块两边间隔 设置滑块两边的间隔大小.
hEle | 元素句柄. |
nPadding | 间隔大小. |
void WINAPI XSBar_ShowButton | ( | HELE | hEle, |
BOOL | bShow | ||
) |
滚动条_显示上下按钮 显示隐藏滚动条上下按钮.
hEle | 元素句柄. |
bShow | 是否显示. |