MLM FORMAT
Appearance
This message sets the format to be used for buffer importing and exporting.
Syntax
param1 USHORT usFormat; /* Format to be used for import and export. */ param2 ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- usFormat (USHORT) - input
- Format to be used for import and export.
- MLFIE_CFTEXT: Text format. Each line ends with a carriage-return/line-feed combination. Tab characters separate fields within a line. A NULL character signals the end of the data.
- MLFIE_NOTRANS: Uses LF for line delineation, and guarantees that any text imported into the MLE in this format can be recovered in exactly the same form on export.
- MLFIE_WINFMT: (Windows MLE format.) On import, recognizes CR LF as denoting hard line-breaks, and ignores the sequence CR CR LF. On export, uses CR LF to denote a hard line-break and CR CR LF to denote a soft line-break caused by word-wrapping.
- ulReserved (ULONG) - input
- Reserved value, should be 0.
Returns
- usFormat (USHORT) - return
- Previous format value.
Remarks
The default format is MLFIE_CFTEXT. The keyword MLFIE_RTF is reserved.
Default Processing
The default window procedure takes no action on this message, other than to set usFormat to 0.