Click here to Skip to main content
15,893,381 members

Comments by Albertino (Top 1 by date)

Albertino 12-Aug-11 5:09am View    
You can get the index using this:

int b_id = m_wndToolBar.CommandToIndex(ID_MY_BUTTON);
m_wndToolBar.SetButtonStyle(b_id,TBBS_DISABLED);