wpDraggedOverObject - Syntax

This instance method may be called on an object that is currently being dragged with the mouse to identify the current target object. The return code from this method lets the system know whether the object being dragged can be dropped on the specified target.

#define INCL_WINWORKPLACE
#include <os2.h>

WPObject     *somSelf;            /*  Pointer to the object on which the method is being invoked. */
WPObject     *DraggedOverObject;  /*  Pointer to the object that the drag cursor is over. */
MRESULT       rc;                 /*  Return code. */

rc = _wpDraggedOverObject(somSelf, DraggedOverObject);


[Back: wpDraggedOverObject]
[Next: wpDraggedOverObject Parameter - somSelf]