函数 | |
| HELE WINAPI | XTabBar_Create (int x, int y, int cx, int cy, HXCGUI hParent) |
| TAB条_创建 创建tabBar元素. 更多... | |
| int WINAPI | XTabBar_AddLabel (HELE hEle, const wchar_t *pName) |
| TAB条_添加标签 添加一个标签. 更多... | |
| int WINAPI | XTabBar_InsertLabel (HELE hEle, int index, const wchar_t *pName) |
| TAB条_插入标签 插入一个标签. 更多... | |
| BOOL WINAPI | XTabBar_MoveLabel (HELE hEle, int iSrc, int iDest) |
| @anchor TAB条_移动标签 更多... | |
| BOOL WINAPI | XTabBar_DeleteLabel (HELE hEle, int index) |
| TAB条_删除标签 删除一个标签. 更多... | |
| void WINAPI | XTabBar_DeleteLabelAll (HELE hEle) |
| TAB条_删除全部 删除所有标签. 更多... | |
| HELE WINAPI | XTabBar_GetLabel (HELE hEle, int index) |
| TAB条_取标签 获取标签按钮Button. 更多... | |
| HELE WINAPI | XTabBar_GetLabelClose (HELE hEle, int index) |
| TAB条_取标签上的关闭按钮 获取标签上关闭按钮. 更多... | |
| HELE WINAPI | XTabBar_GetButtonLeft (HELE hEle) |
| TAB条_取左滚动按钮 获取左滚动按钮. 更多... | |
| HELE WINAPI | XTabBar_GetButtonRight (HELE hEle) |
| TAB条_取右滚动按钮 获取右滚动按钮. 更多... | |
| HELE WINAPI | XTabBar_GetButtonDropMenu (HELE hEle) |
| @TAB条_取下拉菜单按钮句柄 更多... | |
| int WINAPI | XTabBar_GetSelect (HELE hEle) |
| TAB条_取当前选择 获取选择的标签索引. 更多... | |
| int WINAPI | XTabBar_GetLabelSpacing (HELE hEle) |
| TAB条_取间隔 获取标签间距, 0没有间距. 更多... | |
| int WINAPI | XTabBar_GetLabelCount (HELE hEle) |
| TAB条_取标签数量 获取标签项数量. 更多... | |
| int WINAPI | XTabBar_GetindexByEle (HELE hEle, HELE hLabel) |
| TAB条_取标签位置索引 获取标签按钮位置索引. 更多... | |
| void WINAPI | XTabBar_SetLabelSpacing (HELE hEle, int spacing) |
| TAB条_置间隔 设置标签间距, 0没有间距. 更多... | |
| void WINAPI | XTabBar_SetPadding (HELE hEle, int left, int top, int right, int bottom) |
| TAB条_置边距 设置内容与边框的间隔大小. 更多... | |
| void WINAPI | XTabBar_SetSelect (HELE hEle, int index) |
| TAB条_置选择 设置选择标签. 更多... | |
| void WINAPI | XTabBar_SetUp (HELE hEle) |
| TAB条_左滚动 左按钮滚动. 更多... | |
| void WINAPI | XTabBar_SetDown (HELE hEle) |
| TAB条_右滚动 右按钮滚动. 更多... | |
| void WINAPI | XTabBar_EnableTile (HELE hEle, BOOL bTile) |
| TAB条_启用平铺 平铺标签,每个标签显示相同大小. 更多... | |
| void WINAPI | XTabBar_EnableDropMenu (HELE hEle, BOOL bEnable) |
| @TAB条_启用下拉菜单按钮 更多... | |
| void WINAPI | XTabBar_EnableClose (HELE hEle, BOOL bEnable) |
| TAB条_启用标签带关闭按钮 启用关闭标签功能. 更多... | |
| void WINAPI | XTabBar_SetCloseSize (HELE hEle, SIZE *pSize) |
| TAB条_置关闭按钮大小 设置关闭按钮大小. 更多... | |
| void WINAPI | XTabBar_SetTurnButtonSize (HELE hEle, SIZE *pSize) |
| TAB条_置滚动按钮大小 设置翻滚按钮大小. 更多... | |
| void WINAPI | XTabBar_SetLabelWidth (HELE hEle, int index, int nWidth) |
| TAB条_置指定标签固定宽度 设置指定标签为固定宽度. 更多... | |
| BOOL WINAPI | XTabBar_ShowLabel (HELE hEle, int index, BOOL bShow) |
| TAB条_显示标签 显示或隐藏指定标签. 更多... | |
| int WINAPI XTabBar_AddLabel | ( | HELE | hEle, |
| const wchar_t * | pName | ||
| ) |
| HELE WINAPI XTabBar_Create | ( | int | x, |
| int | y, | ||
| int | cx, | ||
| int | cy, | ||
| HXCGUI | hParent | ||
| ) |
TAB条_创建 创建tabBar元素.
| x | 元素x坐标. |
| y | 元素y坐标. |
| cx | 宽度. |
| cy | 高度. |
| hParent | 父是窗口资源句柄或UI元素资源句柄.如果是窗口资源句柄将被添加到窗口, 如果是元素资源句柄将被添加到元素. |
| BOOL WINAPI XTabBar_DeleteLabel | ( | HELE | hEle, |
| int | index | ||
| ) |
| void WINAPI XTabBar_DeleteLabelAll | ( | HELE | hEle | ) |
TAB条_删除全部 删除所有标签.
| hEle | 元素句柄. |
| void WINAPI XTabBar_EnableClose | ( | HELE | hEle, |
| BOOL | bEnable | ||
| ) |
TAB条_启用标签带关闭按钮 启用关闭标签功能.
| hEle | 元素句柄. |
| bEnable | 是否启用. |
| void WINAPI XTabBar_EnableDropMenu | ( | HELE | hEle, |
| BOOL | bEnable | ||
| ) |
@TAB条_启用下拉菜单按钮
| hEle | 元素句柄. |
| bEnable | 是否启用. |
| void WINAPI XTabBar_EnableTile | ( | HELE | hEle, |
| BOOL | bTile | ||
| ) |
TAB条_启用平铺 平铺标签,每个标签显示相同大小.
| hEle | 元素句柄. |
| bTile | 是否启用. |
| HELE WINAPI XTabBar_GetButtonDropMenu | ( | HELE | hEle | ) |
@TAB条_取下拉菜单按钮句柄
| hEle | 元素句柄. |
| HELE WINAPI XTabBar_GetButtonLeft | ( | HELE | hEle | ) |
| HELE WINAPI XTabBar_GetButtonRight | ( | HELE | hEle | ) |
| int WINAPI XTabBar_GetindexByEle | ( | HELE | hEle, |
| HELE | hLabel | ||
| ) |
| HELE WINAPI XTabBar_GetLabel | ( | HELE | hEle, |
| int | index | ||
| ) |
| HELE WINAPI XTabBar_GetLabelClose | ( | HELE | hEle, |
| int | index | ||
| ) |
| int WINAPI XTabBar_GetLabelCount | ( | HELE | hEle | ) |
| int WINAPI XTabBar_GetLabelSpacing | ( | HELE | hEle | ) |
| int WINAPI XTabBar_GetSelect | ( | HELE | hEle | ) |
| int WINAPI XTabBar_InsertLabel | ( | HELE | hEle, |
| int | index, | ||
| const wchar_t * | pName | ||
| ) |
| BOOL WINAPI XTabBar_MoveLabel | ( | HELE | hEle, |
| int | iSrc, | ||
| int | iDest | ||
| ) |
| void WINAPI XTabBar_SetCloseSize | ( | HELE | hEle, |
| SIZE * | pSize | ||
| ) |
TAB条_置关闭按钮大小 设置关闭按钮大小.
| hEle | 元素句柄. |
| pSize | 大小值, 宽度和高度可以为-1,-1代表默认值. |
| void WINAPI XTabBar_SetDown | ( | HELE | hEle | ) |
TAB条_右滚动 右按钮滚动.
| hEle | 元素句柄. |
| void WINAPI XTabBar_SetLabelSpacing | ( | HELE | hEle, |
| int | spacing | ||
| ) |
TAB条_置间隔 设置标签间距, 0没有间距.
| hEle | 元素句柄. |
| spacing | 标签间隔大小. |
| void WINAPI XTabBar_SetLabelWidth | ( | HELE | hEle, |
| int | index, | ||
| int | nWidth | ||
| ) |
TAB条_置指定标签固定宽度 设置指定标签为固定宽度.
| hEle | 元素句柄. |
| index | 索引. |
| nWidth | 宽度, 如果值为-1,那么自动计算宽度. |
| void WINAPI XTabBar_SetPadding | ( | HELE | hEle, |
| int | left, | ||
| int | top, | ||
| int | right, | ||
| int | bottom | ||
| ) |
TAB条_置边距 设置内容与边框的间隔大小.
| hEle | 元素句柄. |
| left | 左边间隔大小. |
| top | 上边间隔大小. |
| right | 右边间隔大小. |
| bottom | 下边间隔大小. |
| void WINAPI XTabBar_SetSelect | ( | HELE | hEle, |
| int | index | ||
| ) |
TAB条_置选择 设置选择标签.
| hEle | 元素句柄. |
| index | 标签位置索引. |
| void WINAPI XTabBar_SetTurnButtonSize | ( | HELE | hEle, |
| SIZE * | pSize | ||
| ) |
TAB条_置滚动按钮大小 设置翻滚按钮大小.
| hEle | 元素句柄. |
| pSize | 大小值, 宽度和高度可以为-1,-1代表默认值. |
| void WINAPI XTabBar_SetUp | ( | HELE | hEle | ) |
TAB条_左滚动 左按钮滚动.
| hEle | 元素句柄. |
| BOOL WINAPI XTabBar_ShowLabel | ( | HELE | hEle, |
| int | index, | ||
| BOOL | bShow | ||
| ) |