CBlueUI  
C++ 跨平台跨框架的数据可视化工具
载入中...
搜索中...
未找到
BUI::CToastBox类 参考

Public 成员函数

 CToastBox ()
 
 ~CToastBox ()
 
CContainLayoutUIGetContainLayoutUI ()
 获得顶层UI控件对象。可用于开发者的定制控件风格。如颜色,字体大小。 如需更高程序的定制化。可自行封装UI模板
 
CImageViewUIGetImageUI ()
 
CLabelUIGetLabelUI ()
 
void PopupText (IManageHandler *pM, LPCTSTR text_type, LPCTSTR msg, int hide_delay=1000, BOOL update=FALSE, int anim_time=0, int anim_angle=15)
 弹出自动延时隐藏消息框
 
void PopupTextA (IManageHandler *pM, LPCSTR text_type, LPCSTR msg, int hide_delay=1000, BOOL update=FALSE, int anim_time=0, int anim_angle=15)
 
void PopupTextW (IManageHandler *pM, LPCWSTR text_type, LPCWSTR msg, int hide_delay=1000, BOOL update=FALSE, int anim_time=0, int anim_angle=15)
 

构造及析构函数说明

◆ CToastBox()

BUI::CToastBox::CToastBox ( )

◆ ~CToastBox()

BUI::CToastBox::~CToastBox ( )

成员函数说明

◆ GetContainLayoutUI()

CContainLayoutUI * BUI::CToastBox::GetContainLayoutUI ( )

获得顶层UI控件对象。可用于开发者的定制控件风格。如颜色,字体大小。 如需更高程序的定制化。可自行封装UI模板

◆ GetImageUI()

CImageViewUI * BUI::CToastBox::GetImageUI ( )

◆ GetLabelUI()

CLabelUI * BUI::CToastBox::GetLabelUI ( )

◆ PopupText()

void BUI::CToastBox::PopupText ( IManageHandler pM,
LPCTSTR  text_type,
LPCTSTR  msg,
int  hide_delay = 1000,
BOOL  update = FALSE,
int  anim_time = 0,
int  anim_angle = 15 
)

弹出自动延时隐藏消息框

参数
IManageHandler消息弹出的目标位置。为NULL时,表示在上次的位置弹出
text_type图标id
msg消息内容
hide_delay超过指定时长(毫秒)后自动隐藏
anim_time下一帧图标动画等待时长
anim_angle每一帧图标动画旋转角度步长

◆ PopupTextA()

void BUI::CToastBox::PopupTextA ( IManageHandler pM,
LPCSTR  text_type,
LPCSTR  msg,
int  hide_delay = 1000,
BOOL  update = FALSE,
int  anim_time = 0,
int  anim_angle = 15 
)

◆ PopupTextW()

void BUI::CToastBox::PopupTextW ( IManageHandler pM,
LPCWSTR  text_type,
LPCWSTR  msg,
int  hide_delay = 1000,
BOOL  update = FALSE,
int  anim_time = 0,
int  anim_angle = 15 
)
鄂公网安备42018502007752 鄂ICP备2024082886
Copyright © 2025 · CBlueStudio 版权所有