<< Return to Main Index

< Return to Class Index

class CGXNoOleDataObjectProxy

CGXNoOleDataObjectProxy objects are used to pass COleDataObject objects to the OLE Drag&Drop overridables in CGXGridCore.

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();

The only reason for this proxy class is to avoid dependencies to the OLE libraries in Objective Grid. Only when you call EnableOleDataSource or CGXGridDropTarget::Register will you have to link your application with the OLE libraries.

#include <gxall.h>

See Also

CGXGridCore::EnableOleDataSource CGXGridDropTarget::Register