msgs12.hlp (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
MLM_INSERT (1.2)
Message Group  Overview                           Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMLE
 
MLM_INSERT
mp1 = MPFROMP(pszBuf);    /* pointer to text        */
mp2 = 0L;                 /* not used, must be zero */
 
An application sends an MLM_INSERT message to insert text into a
multiple-line entry field (MLE) at the current cursor position.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
pszBuf     Low and high word of mp1. Points to the null-terminated string
           that contains the text to insert.
 
Return Value
 
The return value is TRUE if the text is inserted successfully or FALSE if an
error occurs. If the inserted text overflows a text limit or format
rectangle, an error occurs and an appropriate notification message is sent.
 
See Also
 
MLN_OVERFLOW, MLN_TEXTOVERFLOW, WM_CONTROL