Hi,
is it possible to programatically change toolbars button's bitmap to
bitmap from resources.
I've tried this but it doesn't work:
((CMainFrame*)AfxGetMainWnd())->m_wndCommandBar.SetButtonInfo(10,
ID_STOP, TBBS_BUTTON, IDB_STOP);
m_wndCommandBar - CCeCommandBar
10 - zero-based index of button on the toolbar. (I counted all buttons
including the separators)
ID_STOP - new command ID
IDB_STOP - resource bitmap ID
--
----------------------------------
Milan Reznicek
Software Developer
e-mail: reznicekm@gytool.cz