Jump to content

CM CLOSEEDIT

From EDM2

This message closes the window that contains the multiple-line entry (MLE) field used to edit container text directly.

Syntax

param1
ULONG ulReserved;   /* Reserved value, should be 0. */

param2
ULONG ulReserved;   /* Reserved value, should be 0. */

Parameters

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

Returns

rc (BOOL) - returns
Success indicator.
TRUE: The direct editing of container item text was successfully ended.
FALSE: The direct editing of container item text was not successfully ended. The WinGetLastError function may return the following error:
PMERR_INSUFFICIENT_MEMORY.

Remarks

The application sends this message to the container control to end the direct editing of container text. The application can assign this message to a key or key combination, a menu choice, or both so that the user can end the direct editing of container text from the keyboard.

When the container control receives this message, it sends the CN_REALLOCPSZ and CN_ENDEDIT notification codes to the application.

Default Processing

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