Jump to content

MLM DELETE

From EDM2
Revision as of 04:26, 25 April 2025 by Martini (talk | contribs) (Created page with "This message deletes text. ==Syntax== <pre> param1 IPT iptBegin; Starting point of deletion.: param2 ULONG ulDel; Number of bytes to delete.: </pre> ==Parameters== ;iptBegin (IPT) - input: Starting point of deletion. ;ulDel (ULONG) - input: Number of bytes to delete. ==Returns== ;ulSuccess (ULONG) - return: Number of bytes successfully deleted. ==Remarks=== This message takes an insertion point and a length, and deletes that number of characters fro...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This message deletes text.

Syntax

param1
IPT iptBegin;    /* Starting point of deletion. */

param2
ULONG ulDel;     /* Number of bytes to delete. */

Parameters

iptBegin (IPT) - input
Starting point of deletion.
ulDel (ULONG) - input
Number of bytes to delete.

Returns

ulSuccess (ULONG) - return
Number of bytes successfully deleted.

Remarks=

This message takes an insertion point and a length, and deletes that number of characters from the text. If the insertion point is -1, the selection is used and the effect is identical to the MLM_CLEAR message.

This may cause an overflow, see MLN_OVERFLOW.

Default Processing

The default window procedure takes no action on this message, other than to set ulSuccess to 0.