Structure that contains information about a direct manipulation event that is initiated in a container. This structure is used with the CN_INITDRAG notification code only.

typedef struct _CNRDRAGINIT {
  HWND            hwndCnr;  /*  Container control handle. */
  PRECORDCORE     pRecord;  /*  Pointer to the RECORDCORE where direct manipulation started. */
  LONG            x;        /*  X-coordinate of the pointer of the pointing device in desktop coordinates. */
  LONG            y;        /*  Y-coordinate of the pointer of the pointing device in desktop coordinates. */
  LONG            cx;       /*  X-offset from the hot spot of the pointer of the pointing device (in pels) to the record origin. */
  LONG            cy;       /*  Y-offset from the hot spot of the pointer of the pointing device (in pels) to the record origin. */
} CNRDRAGINIT;

typedef   CNRDRAGINIT   * PCNRDRAGINIT ;


[Back] [Next]