MLN_PIXHORZOVERFLOW
Appearance
The MLN_PIXHORZOVERFLOW notification message is sent whenever user uses the keyboard to insert more text than can fit in the current format rectangle or the text limit of a multiple-line entry field (MLE).
Parameters
- id - input
- Low word of mp1. Identifies the MLE window.
- usNotifyCode - input
- High word of mp1. Set to MLN_PIXHORZOVERFLOW.
- IOverFlow
- Low and high word of mp2. The number of pels by which the operation overflows the current format rectangle.
Returns
An application should return TRUE to retry the operation. If the application returns FALSE, the user cannot insert additional text.
Remarks
Before returning TRUE, the application should perform some operation (for example, changing the dimensions of the format rectangle) that will enable the text to fit.
Example Code
WM_CONTROL id = (USHORT) SHORT1FROMMP(mpl); /' MLE-window 1D '/ usNotifyCode = MLN_PIXHORZOVERFLOW; /, amount of overflow '/ lOverFlow = LONGFROMMP(mp2);