www.pudn.com > DialogBar调用切分窗口.rar > Line.h
#if !defined(AFX_LINE_H__DD3A5A3D_6749_467F_A170_6E34D1C5B915__INCLUDED_)
#define AFX_LINE_H__DD3A5A3D_6749_467F_A170_6E34D1C5B915__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Line.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CLine command target
class CLine : public CObject
{
DECLARE_DYNCREATE(CLine)
// Attributes
public:
CLine();
CLine(CPoint pt,CPoint pt1);
virtual ~CLine();
CLine &operator=(CLine&line)
{
this->pt=line.pt;
this->pt1=line.pt1;
return *this;
}
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLine)
//}}AFX_VIRTUAL
// Implementation
protected:
CPoint pt1;
CPoint pt;
// Generated message map functions
//{{AFX_MSG(CLine)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
};
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// Cline command target
class Cline : public CCmdTarget
{
DECLARE_DYNCREATE(Cline)
Cline(); // protected constructor used by dynamic creation
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(Cline)
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~Cline();
// Generated message map functions
//{{AFX_MSG(Cline)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LINE_H__DD3A5A3D_6749_467F_A170_6E34D1C5B915__INCLUDED_)