Tool bar buttons
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
how do i make one behave as a checkbox without adding a checkbox control?
-
how do i make one behave as a checkbox without adding a checkbox control?
m_wndToolBar.SetButtonStyle(1, TBBS_CHECKBOX);
where 1 is the index of the button in the toolbar and m_wndToolBar is a CToolBar. Cheers, Fredrik
"Felix qui potuit rerum cognoscere causas."