COleDropTarget::Register

BOOL Register( 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 RegisterDragDrop in the OLE 2 Programmer’s Reference, Volume 1.

COleDropTarget OverviewClass MembersHierarchy Chart

See Also   COleDropTarget::Revoke, COleDropTarget::COleDropTarget