CNRDRAGINIT
Appearance
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; PRECORDCORE pRecord; LONG x; LONG y; LONG cx; LONG cy; } CNRDRAGINIT; typedef CNRDRAGINIT * PCNRDRAGINIT ;
- hwndCnr (HWND)
- Container control handle.
- pRecord (PRECORDCORE)
- Pointer to the RECORDCORE where direct manipulation started.
- Note: If the CCS_MINIRECORDCORE style bit is specified when a container is created, then MINIRECORDCORE should be used instead of RECORDCORE and PMINIRECORDCORE should be used instead of PRECORDCORE in all applicable data structures and messages.
- The pRecord field can have one of the following values:
- NULL - Direct manipulation started over white space.
- Other - Container record over which direct manipulation started.
- x (LONG)
- X-coordinate of the pointer of the pointing device in desktop coordinates.
- y (LONG)
- Y-coordinate of the pointer of the pointing device in desktop coordinates.
- cx (LONG)
- X-offset from the hot spot of the pointer of the pointing device (in pels) to the record origin.
- cy (LONG)
- Y-offset from the hot spot of the pointer of the pointing device (in pels) to the record origin.