function mousedown to document class

Hello,

where would I add, is it in operations?

1
2
3
4
public:
void MouseDown(CPoint point);
PointArray& GetPointArray(){return m_pointArray;}
ColorArray& GetColorArray(){return m_colorArray;}

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
class CRingDoc : public CDocument
{
protected: // create from serialization only
	CRingDoc();
	DECLARE_DYNCREATE(CRingDoc)

// Attributes
public:

// Operations
public:

// Overrides
public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);

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

protected:

// Generated message map functions
protected:
	DECLARE_MESSAGE_MAP()

private:
	PointArray m_pointArray;
	ColorArray m_colorArray;
};


thanks in advance for your help
Last edited on
No help with the MFC? Well its going in operations then.
Last edited on
I'm hard coding this stuff, I don't think I'm doing it right.
Topic archived. No new replies allowed.