Code:
ON_COMMAND(IDC_VIDEO_RECORDING, &CMainFrame::OnVideoRecording)
....
void CMainFrame::OnVideoRecording()
{
// TODO: Add your command handler code here
m_bEnableVideo = !m_bEnableVideo;
}
Maybe I'm on the wrong track? Maybe there's an easier way of doing checkboxes in ribbons in MFC? Any help would be appreciated, thanks, I've been having trouble finding good documentation on this subject. It seems like MFC has changed since I last used it, or maybe its just ribbons that are different, I dunno.
I set up the project with "MFC standard" for application type, and specified it to "use a ribbon", and I'm not using doc/view architecture.
