long StreamIn( int nFormat, EDITSTREAM& es );
Return Value
Number of characters read from the input stream.
Parameters
nFormat
Flags specifying the input data formats. See the Remarks section for more information.
es
EDITSTREAM structure specifying the input stream. See the Remarks section for more information.
Remarks
Call this function to replace text in this CRichEditCtrl object with text from the specified input stream.
The value of nFormat must be one of the following:
Either of these values can be combined with SFF_SELECTION. If SFF_SELECTION is specified, StreamIn replaces the current selection with the contents of the input stream. If it is not specified, StreamIn replaces the entire contents of this CRichEditCtrl object.
In the EDITSTREAM parameter es, you specify a callback function which fills a buffer with text. This callback function is called repeatedly, until the input stream is exhausted.
For more information, see EM_STREAMIN message and EDITSTREAM structure in the Win32 documentation.
CRichEditCtrl Overview | Class Members | Hierarchy Chart
See Also CRichEditCtrl::StreamOut