CGridDropTarget Class Reference

#include <GridDropTarget.h>

List of all members.

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

CGridCtrlm_pGridCtrl
BOOL m_bRegistered

Protected Member Functions

 DECLARE_MESSAGE_MAP ()


Detailed Description

Definition at line 40 of file GridDropTarget.h.


Constructor & Destructor Documentation

CGridDropTarget::CGridDropTarget (  ) 

Definition at line 37 of file GridDropTarget.cpp.

References FALSE, m_bRegistered, and m_pGridCtrl.

CGridDropTarget::~CGridDropTarget (  )  [virtual]

Definition at line 43 of file GridDropTarget.cpp.


Member Function Documentation

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 78 of file GridDropTarget.cpp.

References FALSE, and m_bRegistered.


Member Data Documentation

BOOL CGridDropTarget::m_bRegistered

Definition at line 49 of file GridDropTarget.h.

Referenced by CGridDropTarget(), Register(), and Revoke().

CGridCtrl* CGridDropTarget::m_pGridCtrl

Definition at line 48 of file GridDropTarget.h.

Referenced by CGridDropTarget(), OnDragEnter(), OnDragLeave(), OnDragOver(), OnDrop(), and Register().


The documentation for this class was generated from the following files:
Generated on Thu Dec 7 01:21:09 2006 for DT2005.panorama by  doxygen 1.4.7