Jump to content

CNRDRAGINFO: Difference between revisions

From EDM2
Created page with "Structure that contains information about a direct manipulation event that is occurring over the container. The information specified for this structure depends on the contain..."
 
Ak120 (talk | contribs)
mNo edit summary
Line 1: Line 1:
Structure that contains information about a direct manipulation event that is occurring over the container. The information specified for this structure depends on the container notification code with which it is used. The differences are specified in the following field descriptions. The applicable notification codes are:
Structure that contains information about a direct manipulation event that is occurring over the container. The information specified for this structure depends on the container notification code with which it is used. The differences are specified in the following field descriptions. The applicable notification codes are:
 
* CN_DRAGAFTER
    CN_DRAGAFTER
* CN_DRAGLEAVE
    CN_DRAGLEAVE
* CN_DRAGOVER
    CN_DRAGOVER
* CN_DROP
    CN_DROP
* CN_DROPHELP  
    CN_DROPHELP  


  typedef struct _CNRDRAGINFO {  PDRAGINFO      pDragInfo;  /*  Pointer to a DRAGINFO structure. */
  typedef struct _CNRDRAGINFO {  PDRAGINFO      pDragInfo;  /*  Pointer to a DRAGINFO structure. */
                                 PRECORDCORE    pRecord;    /*  Pointer to a RECORDCORE structure. */
                                 PRECORDCORE    pRecord;    /*  Pointer to a RECORDCORE structure. */
  } CNRDRAGINFO;
  } CNRDRAGINFO;
 
 
  typedef  CNRDRAGINFO  * PCNRDRAGINFO ;
  typedef  CNRDRAGINFO  * PCNRDRAGINFO ;


==Fields==
==Fields==
; pDragInfo (PDRAGINFO)
;pDragInfo (PDRAGINFO): Pointer to a DRAGINFO structure.
: Pointer to a DRAGINFO structure.
;pRecord (PRECORDCORE):Pointer to a RECORDCORE structure.
 
; pRecord (PRECORDCORE)
:Pointer to a RECORDCORE structure.
:The structure that is pointed to depends on the notification code being used.
:The structure that is pointed to depends on the notification code being used.
: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. For the CN_DRAGAFTER notification code, this field contains a pointer to the RECORDCORE structure after which ordered target emphasis is drawn. If ordered target emphasis is applied above the first record in item order, the CMA_FIRST attribute is returned.
: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. For the CN_DRAGAFTER notification code, this field contains a pointer to the RECORDCORE structure after which ordered target emphasis is drawn. If ordered target emphasis is applied above the first record in item order, the CMA_FIRST attribute is returned.

Revision as of 00:39, 30 May 2024

Structure that contains information about a direct manipulation event that is occurring over the container. The information specified for this structure depends on the container notification code with which it is used. The differences are specified in the following field descriptions. The applicable notification codes are:

  • CN_DRAGAFTER
  • CN_DRAGLEAVE
  • CN_DRAGOVER
  • CN_DROP
  • CN_DROPHELP
typedef struct _CNRDRAGINFO {  PDRAGINFO       pDragInfo;  /*  Pointer to a DRAGINFO structure. */
                               PRECORDCORE     pRecord;    /*  Pointer to a RECORDCORE structure. */
} CNRDRAGINFO;

typedef   CNRDRAGINFO   * PCNRDRAGINFO ;

Fields

pDragInfo (PDRAGINFO)
Pointer to a DRAGINFO structure.
pRecord (PRECORDCORE)
Pointer to a RECORDCORE structure.
The structure that is pointed to depends on the notification code being used.
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. For the CN_DRAGAFTER notification code, this field contains a pointer to the RECORDCORE structure after which ordered target emphasis is drawn. If ordered target emphasis is applied above the first record in item order, the CMA_FIRST attribute is returned.
For the CN_DRAGLEAVE notification code, this field is NULL.
For the CN_DRAGOVER, CN_DROP, and CN_DROPHELP notification codes, this field contains a pointer to a container record over which direct manipulation occurred. This field has a value of NULL if the direct manipulation event occurs over white space.