Once initialization is complete, the source object calls DrgDrag to start the direct manipulation operation. The following sample code shows how to start the drag operation:

/***********************************************************************/
/*  Start drag operation.                                              */
/***********************************************************************/
  DrgDrag(hFrameWnd,
          pSourceDraginfo,
          &dimg,
          1L,
          VK_BUTTON2,
          NULL);


[Back] [Next]