#include <GridDropTarget.h>
Public Member Functions | |
CGridDropTarget () | |
virtual | ~CGridDropTarget () |
BOOL | Register (CGridCtrl *pGridCtrl) |
virtual void | Revoke () |
BOOL | OnDrop (CWnd *pWnd, COleDataObject *pDataObject, DROPEFFECT dropEffect, CPoint point) |
DROPEFFECT | OnDragEnter (CWnd *pWnd, COleDataObject *pDataObject, DWORD dwKeyState, CPoint point) |
void | OnDragLeave (CWnd *pWnd) |
DROPEFFECT | OnDragOver (CWnd *pWnd, COleDataObject *pDataObject, DWORD dwKeyState, CPoint point) |
DROPEFFECT | OnDragScroll (CWnd *pWnd, DWORD dwKeyState, CPoint point) |
Public Attributes | |
CGridCtrl * | m_pGridCtrl |
BOOL | m_bRegistered |
Protected Member Functions | |
DECLARE_MESSAGE_MAP () |
Definition at line 40 of file GridDropTarget.h.
CGridDropTarget::CGridDropTarget | ( | ) |
CGridDropTarget::~CGridDropTarget | ( | ) | [virtual] |
Definition at line 43 of file GridDropTarget.cpp.
CGridDropTarget::DECLARE_MESSAGE_MAP | ( | ) | [protected] |
DROPEFFECT CGridDropTarget::OnDragEnter | ( | CWnd * | pWnd, | |
COleDataObject * | pDataObject, | |||
DWORD | dwKeyState, | |||
CPoint | point | |||
) |
Definition at line 105 of file GridDropTarget.cpp.
References ASSERT, m_pGridCtrl, and CGridCtrl::OnDragEnter().
void CGridDropTarget::OnDragLeave | ( | CWnd * | pWnd | ) |
Definition at line 117 of file GridDropTarget.cpp.
References ASSERT, m_pGridCtrl, and CGridCtrl::OnDragLeave().
DROPEFFECT CGridDropTarget::OnDragOver | ( | CWnd * | pWnd, | |
COleDataObject * | pDataObject, | |||
DWORD | dwKeyState, | |||
CPoint | point | |||
) |
Definition at line 126 of file GridDropTarget.cpp.
References ASSERT, m_pGridCtrl, and CGridCtrl::OnDragOver().
DROPEFFECT CGridDropTarget::OnDragScroll | ( | CWnd * | pWnd, | |
DWORD | dwKeyState, | |||
CPoint | point | |||
) |
Definition at line 92 of file GridDropTarget.cpp.
BOOL CGridDropTarget::OnDrop | ( | CWnd * | pWnd, | |
COleDataObject * | pDataObject, | |||
DROPEFFECT | dropEffect, | |||
CPoint | point | |||
) |
Definition at line 138 of file GridDropTarget.cpp.
References ASSERT, FALSE, m_pGridCtrl, and CGridCtrl::OnDrop().
BOOL CGridDropTarget::Register | ( | CGridCtrl * | pGridCtrl | ) |
Definition at line 50 of file GridDropTarget.cpp.
References ASSERT, BOOL(), FALSE, m_bRegistered, m_pGridCtrl, and TRUE.
Referenced by CGridCtrl::Initialise().
void CGridDropTarget::Revoke | ( | ) | [virtual] |
Definition at line 49 of file GridDropTarget.h.
Referenced by CGridDropTarget(), Register(), and Revoke().
Definition at line 48 of file GridDropTarget.h.
Referenced by CGridDropTarget(), OnDragEnter(), OnDragLeave(), OnDragOver(), OnDrop(), and Register().