CN ENTER: Difference between revisions
Appearance
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==..." |
No edit summary |
||
Line 15: | Line 15: | ||
;CN_ENTER ([[USHORT]]) - Input | ;CN_ENTER ([[USHORT]]) - Input | ||
: Notification code. | : Notification code. | ||
;pNotifyRecordEnter ([[ | ;pNotifyRecordEnter (P[[NOTIFYRECORDENTER]]) - Input | ||
: Pointer to the [[NOTIFYRECORDENTER]] structure. | : Pointer to the [[NOTIFYRECORDENTER]] structure. | ||
Latest revision as of 22:06, 20 April 2025
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.