MFC基础介绍.pptVIP

  • 4
  • 0
  • 约3.54万字
  • 约 120页
  • 2017-12-18 发布于江西
  • 举报
MFC基础介绍

* * // button3.cpp #include afxwin.h #define IDB_BUTTON 100 // Declare the application class class CButtonApp : public CWinApp { public: virtual BOOL InitInstance(); }; // Create an instance of the application class CButtonApp ButtonApp; // Declare the main window class class CButtonWindow : public CFrameWnd { CButton *button; public: CButtonWindow(); afx_msg void HandleButton(); afx_msg void OnSize(UINT, int, int); DECLARE_MESSAGE_MAP() }; * * // A message handler function void CButtonWindow::HandleButton() { MessageBeep(-1); } // A message handler function void

文档评论(0)

1亿VIP精品文档

相关文档