Jump to content

CN CONTEXTMENU

From EDM2

This message is sent by the container control to its owner when the container receives a WM_CONTEXTMENU message.

Syntax

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

param2
PRECORDCORE pRecord;     /* Pointer to the RECORDCORE structure. */

Parameters

id (USHORT) - Input
Container control ID.
CN_CONTEXTMENU (USHORT) - Input
Notification code.
pRecord (PRECORDCORE) - Input
Pointer to the RECORDCORE structure.
If the user is using a pointing device, this RECORDCORE structure is the structure that the pointing device pointer is over. If the pointing device pointer is over white space, this field is NULL.
If the user is using the keyboard, this RECORDCORE structure is the structure that has the selection cursor.

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.