pDraginfo (PDRAGINFO)

      Pointer to the DRAGINFO structure representing the object being dragged.

    sxDrop (SHORT)

      X-coordinate of the pointing device pointer in desktop coordinates.

    syDrop (SHORT)

      Y-coordinate of the pointing device pointer in desktop coordinates.

    usDrop (USHORT)

      Drop indicator.

      DOR_DROP

        Object can be dropped. When this reply is given, usDefaultOp must be set to indicate which operation is performed if the user should drop at this location.
      DOR_NODROP
        Object cannot be dropped at this time. The target can accept the object in the specified type and format using the specified operation, but the current state of the target will not allow it to be dropped on. The target may change state in the future so that the same object may be acceptable.
      DOR_NODROPOP
        Object cannot be dropped at this time. The target can accept the object in the specified type and format, but the current operation is not acceptable. A change in the drag operation may change the acceptability of the object.
      DOR_NEVERDROP
        Object cannot be dropped. The target cannot accept the object now and will not change state so that the object will be acceptable in the future. If this response is returned, no more DM_DRAGOVER messages will be sent to the target until the pointer is moved out of and back into the target window.

      usDefaultOp (USHORT)

        Target-defined default operation.

        DO_COPY

          Default operation is a copy.
        DO_LINK
          Default operation is a link.
        DO_MOVE
          Default operation is a move.
        DO_CREATE
          Default operation is create. Used to create an object from a template.
        DO_NEW
          Default operation is create another. Use create another to create an object that has default settings and data. The result of using create another is identical to creating an object from a template. This value should be defined as DO_UNKNOWN+3 if it is not recognized in the current level of the toolkit.
        Other
          Operation is defined by the application.

          This value should be greater than or equal to (>=) DO_UNKNOWN but not DO_NEW.


        [Back] [Next]