This example uses the DrgSetDragPointer function to set the image used for the pointer while the pointer is over the target during a direct manipulation operation.
#define INCL_WINSTDDRAG /* Direct Manipulation (Drag) Functions */
#include <OS2.H>
BOOL flResult;
PDRAGITEM pditem;
HPOINTER hptrCrossHair;
MPARAM mp1;
char szBuffer[32];
case DM_DRAGOVER:
DrgSetDragPointer ((PDRAGINFO) mp1, hptrCrossHair);