undolist.h
资源名称:44757463.rar [点击查看]
上传用户:lj3531212
上传日期:2007-06-18
资源大小:346k
文件大小:1k
源码类别:
绘图程序
开发平台:
Visual C++
- #if !defined(AFX_UNDOLIST_H__0E4C5D9B_23B6_45A8_9932_02ACB5C70402__INCLUDED_)
- #define AFX_UNDOLIST_H__0E4C5D9B_23B6_45A8_9932_02ACB5C70402__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- // UndoList.h :
- //
- class CUndoDlg;
- /////////////////////////////////////////////////////////////////////////////
- // CUndoList
- class CCore;
- class CUndoList : public CListBox
- {
- public:
- CUndoList();
- // Sttributes
- public:
- CUndoDlg* m_pParentDlg;
- CCore* m_pCore;
- long int m_nID;
- long int m_nPos;
- protected:
- long int m_nToolTip;
- BOOL m_bToolTip;
- CToolTipCtrl* m_pToolTip;
- //
- public:
- //
- // ClassWizard
- //{{AFX_VIRTUAL(CUndoList)
- public:
- virtual BOOL PreTranslateMessage(MSG* pMsg);
- //}}AFX_VIRTUAL
- //
- public:
- void OnUndo();
- void SetPos(long int nPos);
- void SetContents();
- virtual ~CUndoList();
- //
- protected:
- //{{AFX_MSG(CUndoList)
- afx_msg void OnMouseMove(UINT nFlags, CPoint point);
- afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
- afx_msg void OnSelchange();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- };
- /////////////////////////////////////////////////////////////////////////////
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++
- #endif // !defined(AFX_UNDOLIST_H__0E4C5D9B_23B6_45A8_9932_02ACB5C70402__INCLUDED_)