如何获得工具栏上按钮信息?

stef3390 2011-03-08 09:03:36
知道工具栏上按钮的id,如何获得按钮的标题,提示,图标?
...全文
49 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
stef3390 2011-03-08
  • 打赏
  • 举报
回复
这个不能获得按钮的标题和提示字符串啊
Eleven 2011-03-08
  • 打赏
  • 举报
回复
CToolBar::GetButtonInfo

This member function retrieves the control ID, style, and image index of the toolbar button or separator at the location specified by nIndex.

void GetButtonInfo(
int nIndex,
UINT& nID,
UINT& nStyle,
int& iImage
) const;

15,979

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 界面
社区管理员
  • 界面
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧