U E D R , A S I H C RSS

오목/휘동, 희경

MFC입니다.
이런.,

~cpp 
// grimView.h : interface of the CGrimView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_GRIMVIEW_H__A8571F68_AE69_11D7_A974_0001029897CD__INCLUDED_)
#define AFX_GRIMVIEW_H__A8571F68_AE69_11D7_A974_0001029897CD__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

const int size = 30;
const int room = 30;


class CGrimView : public CView
{
protected: // create from serialization only
	CGrimView();
	DECLARE_DYNCREATE(CGrimView)

// Attributes
public:
	CGrimDoc* GetDocument();
	int x[room*room], y[room*room], number;
	

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CGrimView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CGrimView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CGrimView)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in grimView.cpp
inline CGrimDoc* CGrimView::GetDocument()
   { return (CGrimDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_GRIMVIEW_H__A8571F68_AE69_11D7_A974_0001029897CD__INCLUDED_)
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:30:26
Processing time 0.0069 sec