Jump to content

CN ENTER

From EDM2
Revision as of 21:33, 20 April 2025 by Martini (talk | contribs) (Created page with "This message is sent by the container control to its owner when either the Enter key is pressed while the container window has the focus or the select button is double-clicked while the pointer is over the container window. ==Syntax== <PRE> param1 USHORT id; Container control ID.: USHORT CN_ENTER; Notification code.: param2 PNOTIFYRECORDENTER pNotifyRecordEnter; Pointer to the NOTIFYRECORDENTER structure.: </PRE> ==Parameters==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message is sent by the container control to its owner when either the Enter key is pressed while the container window has the focus or the select button is double-clicked while the pointer is over the container window.

Syntax

param1
USHORT id;                 /* Container control ID. */
USHORT CN_ENTER;           /* Notification code. */

param2
PNOTIFYRECORDENTER pNotifyRecordEnter; /* Pointer to the NOTIFYRECORDENTER structure. */

Parameters

id (USHORT) - Input
Container control ID.
CN_ENTER (USHORT) - Input
Notification code.
pNotifyRecordEnter (PNOTIFYRECORDENTER) - Input
Pointer to the NOTIFYRECORDENTER structure.

Returns

ulReserved (ULONG) - returns
Reserved value, should be 0.

Remarks

None.

Default Processing

The default window procedure does not expect to receive this notification code and therefore takes no action on it other than to return 0.