方法一:

AfxGetApp()->m_pMainWnd->SendMessage(WM_CLOSE);

方法二:

AfxGetMainWnd()->CloseWindow();

相关文章:

  • 2021-11-29
  • 2021-04-24
  • 2021-11-11
  • 2022-01-09
  • 2021-11-25
  • 2022-12-23
  • 2021-06-19
  • 2022-01-03
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案