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.
MLN_CLPBDFAIL (1.2)
Notification Group  Overview                      Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINMLE
 
WM_CONTROL
id = (USHORT) SHORT1FROMMP(mp1);        /* MLE-window ID */
usNotifyCode = MLN_CLPBDFAIL;
sError = (USHORT) SHORT1FROMMP(mp2);    /* error code    */
 
The MLN_CLPBDFAIL notification message is sent if the clipboard is unable to
receive the text sent to it by a multiple-line entry field (MLE).
 
Parameter     Description
────────────────────────────────────────────────────────────────────────────
 
id            Low word of mp1. Identifies the MLE window.
 
usNotifyCode  High word of mp1. Set to MLN_CLPBDFAIL.
 
sError        Specifies the error that occurred. This parameter can be one
              of the following error values:
 
              Value                 Meaning
              ──────────────────────────────────────────────────────────────
              MLFCLPBD_TOOMUCHTEXT  Specifies that the amount of text
                                    exceeds the capacity of the clipboard.
 
              MLFCLPBD_ERROR        Specifies an unknown clipboard error.
 
See Also
 
MLM_COPY, MLM_CUT, WM_CONTROL