Jump to content

CN SETFOCUS

From EDM2

This message is sent by the container control to its owner whenever the container receives the focus.

Syntax

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

param2
HWND hwndCnr;       /* Container control handle. */

Parameters

id (USHORT) - Input
Container control ID.
CN_SETFOCUS (USHORT) - Input
Notification code.
hwndCnr (HWND) - Input
Container control handle.

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.