void CMainFrame::OnShowStandToolbar() //设置菜单状态

{

    if (AfxGetMainWnd()->GetMenu()->GetMenuState(ID_STANDTOOLBAR,MF_CHECKED))
 {
  AfxGetMainWnd()->GetMenu()->CheckMenuItem(ID_STANDTOOLBAR,MF_UNCHECKED);
 }
 else
 {
  AfxGetMainWnd()->GetMenu()->CheckMenuItem(ID_STANDTOOLBAR,MF_CHECKED);
 }

}

相关文章:

  • 2021-09-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-20
  • 2021-04-15
猜你喜欢
  • 2021-10-02
  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
  • 2021-07-07
  • 2022-12-23
相关资源
相似解决方案