如何为TBBUTTONINFO按钮指定新图像?帮帮我......
答案 0 :(得分:0)
检查出来:
TBBUTTONINFO tbButtonInfo;
::ZeroMemory(&tbButtonInfo, sizeof(TBBUTTONINFO));
tbButtonInfo.cbSize = sizeof(TBBUTTONINFO);
tbButtonInfo.dwMask = TBIF_IMAGE;
tbToolbar.GetButtonInfo(nId, &tbButtonInfo);
tbButtonInfo.iImage = I_IMAGENONE;
tbToolbar.SetButtonInfo(nId, &tbButtonInfo);
有关详细信息,请查看TBBUTTONINFO的MSDN文档。