COleDropTarget::Register
BOOLRegister(CWnd*pWnd);
Return Value
Nonzero if registration is successful; otherwise 0.
Parameters
pWnd
Points to the window that is to be registered as a drop target.
Remarks
Call this function to register your window with the OLE DLLs as a valid drop target. This function must be called for drop operations to be accepted.
For more information, see in the OLE 2 Programmer’s Reference, Volume 1.
COleDropTarget Overview | Class Members | Hierarchy Chart
See Also COleDropTarget::Revoke, COleDropTarget::COleDropTarget