NMCBEDRAGBEGINA structure (commctrl.h)

Contains information used with the CBEN_DRAGBEGIN notification code.

Syntax

typedef struct {
  NMHDR hdr;
  int   iItemid;
  char  szText[CBEMAXSTRLEN];
} NMCBEDRAGBEGINA, *LPNMCBEDRAGBEGINA, *PNMCBEDRAGBEGINA;

Members

hdr

Type: NMHDR

An NMHDR structure that contains information about the notification code.

iItemid

Type: int

The zero-based index of the item being dragged. This value will always be -1, indicating that the item being dragged is the item displayed in the edit portion of the control.

szText[CBEMAXSTRLEN]

Type: TCHAR

The character buffer that contains the text of the item being dragged.

Remarks

Note

The commctrl.h header defines NMCBEDRAGBEGIN as an alias which automatically selects the ANSI or Unicode version of this function based on the definition of the UNICODE preprocessor constant. Mixing usage of the encoding-neutral alias with code that not encoding-neutral can lead to mismatches that result in compilation or runtime errors. For more information, see Conventions for Function Prototypes.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header commctrl.h