CGXGridCore::OnDndQueryAcceptData

virtual BOOL OnDndQueryAcceptData(CGXNoOleDataObjectProxy* pOleDataObjectProxy);

pOleDataObjectProxy

A proxy object which holds a COleDataObject object.

Return Value

TRUE if data can be accepted; FALSE if data are not accepted. If data are not accepted, a “No Drop” cursor will be shown.

Remarks

This overridable is called to determine whether the grid can handle the clipboard formats available in the OLE data object.

If you override a method that 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::OnDndDropData

CGXGridCore

 Class Overview |  Class Members