CGXGridCore::OnDndDropData
virtual BOOL OnDndDropData(CGXNoOleDataObjectProxy* pOleDataObjectProxy, ROWCOL nRow, ROWCOL nCol);
pOleDataObjectProxy
A proxy object which holds a COleDataObject object.
nRow
Specifies the row id where the data shall be dropped.
nCol
Specifies the column id where the data shall be dropped.
Return Value
TRUE if data could be pasted; FALSE if data are invalid.
Remarks
This overridable is called to paste the data from the OLE data object into the grid.
If you override a method which receives a CGXNoOleDataObjectProxy object as parameter, you should insert the following lines in your code to get a pointer to the COleDataObject object:
COleDataObject* pDataObject =
((CGXOleDataObjectProxy*) pOleDataObjectProxy)->GetOleDataObject();
See Also
CGXGridCore::OnDndCalculateFocusRect CGXGridCore::OnDndQueryAcceptData






