Expand|Select|Wrap|Line Numbers
- IMPLEMENT_DYNAMIC(MainFrame,CMDIFrameWnd)
- BEGIN_MESSAGE_MAP(MainFrame,CMDIFrameWnd)
- ON_WM_RBUTTONUP()
- END_MESSAGE_MAP()
- MainFrame::MainFrame() {
- Create(NULL,"Battleship");
- }
- BOOL MainFrame::OnCreateClient(LPCREATESTRUCT lpcs,CCreateContext *pContext) {
- return CreateClient(lpcs,NULL);
- }
- afx_msg void MainFrame::OnRButtonUp(UINT nFlags,CPoint point) {
- AfxMessageBox(_T("hello"));
- }