CGXGridCore::OnDndCalculateFocusRect
virtual BOOL OnDndCalculateFocusRect(CGXNoOleDataObjectProxy* pOleDataObjectProxy, ROWCOL& nRowExt, ROWCOL& nColExt);?
pOleDataObjectProxy
A proxy object which holds a COleDataObject object.
nRowExt
A reference to a ROWCOL where the number of rows will be returned.
nColExt
A reference to a ROWCOL where the number of columns will be returned.
Return Value
TRUE if data could be interpreted; FALSE if data are invalid.
Remarks
This overridable is called to determine the boundaries for the focus rectangle based on the data in the OLE data object when the user moves the mouse into the grid window.
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::OnDndDropData CGXGridCore::OnDndQueryAcceptData