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