Jump to content

CNREDITDATA

From EDM2
Revision as of 00:22, 21 April 2025 by Martini (talk | contribs) (Created page with "Structure that contains information about the direct editing of container text. The information specified for this structure depends on the container notification code or message with which it is used. The differences are specified in the following field descriptions. The applicable notification codes and message are: * CN_BEGINEDIT * CN_ENDEDIT * CN_REALLOCPSZ * CM_OPENEDIT == Type == struct == C Declaration Method == typedef == Example Code == <pre...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Structure that contains information about the direct editing of container text. The information specified for this structure depends on the container notification code or message with which it is used. The differences are specified in the following field descriptions.

The applicable notification codes and message are:

Type

struct

C Declaration Method

typedef

Example Code

typedef struct _CNREDITDATA {  ULONG           cb;          /*  Structure size. */
  HWND            hwndCnr;     /*  Container window handle. */
  PRECORDCORE     pRecord;     /*  Pointer to a RECORDCORE data structure, or NULL. */
  PFIELDINFO      pFieldInfo;  /*  Pointer to a FIELDINFO data structure, or NULL. */
  PSZ            *ppszText;    /*  Pointer to a PSZ text string. */
  ULONG           cbText;      /*  Number of bytes in the text string. */
  ULONG           id;          /*  ID of the window to be edited. */
} CNREDITDATA;

typedef   CNREDITDATA   * PCNREDITDATA ;