This instance method is called to inform an object that another object has been dropped on it.
#define INCL_WINWORKPLACE #include <os2.h> WPObject *somSelf; /* Pointer to the object on which the method is being invoked. */ HWND hwndCnr; /* Handle to the container control window. */ PDRAGINFO pdrgInfo; /* Pointer to a DRAGINFO structure. */ PDRAGITEM pdrgItem; /* Pointer to a DRAGITEM structure. */ MRESULT rc; /* Return code. */ rc = _wpDrop(somSelf, hwndCnr, pdrgInfo, pdrgItem);