procedure SetSelTextBuf(Buffer: PChar);
void __fastcall SetSelTextBuf(System::WideChar * Buffer);
Replaces the selected text with a null-terminated string.
Use SetSelTextBuf to replace the current selection by the contents of the null-terminated string pointed to by Buffer. If no text is selected, the contents of Buffer are inserted at the cursor. SetSelTextBuf does the same thing as setting the SelText property, except that it takes a pointer to a char type rather than a string.