1 #include <afxwin.h>
 2 
 3 class CMyWinApp:public CWinApp
 4 {
 5 public:
 6     BOOL InitInstance()
 7     {
 8     CFrameWnd *pwin=new CFrameWnd;
 9     m_pMainWnd=pwin;
10     pwin->Create(0,_T("Hello"));
11     pwin->ShowWindow(SW_SHOW);
12     return TRUE;
13     }
14 
15 };
16 
17 CMyWinApp theApp;

相关文章:

  • 2021-11-02
  • 2022-12-23
  • 2022-12-23
  • 2021-06-17
  • 2021-09-23
  • 2021-11-30
  • 2022-12-23
  • 2021-11-10
猜你喜欢
  • 2021-09-04
  • 2022-12-23
  • 2022-12-23
  • 2022-02-12
  • 2022-12-23
  • 2021-10-24
  • 2021-10-23
相关资源
相似解决方案