|Top Previous Next|
These methods Insert text from the Clipboard in the position of caret
PasteTextA pastes text in CF_TEXT format. PasteTextW pastes text in CF_UNICODETEXT.
In Windows 95/98/ME, CF_TEXT and CF_UNICODETEXT are independent Clipboard formats.
In Windows NT/2000/XP/Vista, Windows automatically converts them to each other, using the language of the keyboard layout that was used at the moment of copying.
These methods do nothing if the Clipboard does not contain ANSI/Unicode text.
Text from the Clipboard may contain special characters: CR, LF, TAB, FF (#13, #10, #9, #12). #9 characters may be inserted as tabulators, depending on value of SpacesInTab property of the linked RVStyle component. #12 characters add page breaks. All possible line breaks modes (CR, LF, CR+LF, LF+CR) are supported. PasteTextW supports the Unicode byte order marks characters (if it's present, it must be the first character).
Methods type: editing-style method for insertion.
See also methods:
See also properties:
See also properties of TRVStyle:
TRichView © trichview.com