I am having trouble disabling buttons on a toolbar made with the resource editor in Visual C++.
I am trying to disable certain buttons on the bar when a setting is changed.
I am running the below code in the frame of the MDI child window.
CToolBarCtrl * pTBCtrl = &m_wndTimeLineBar.GetToolBarCtrl();
The code runs with no errors, but doesn't appear to do anything.