RAD Studio VCL Reference
|
Copies the selected text into a buffer and returns the number of characters copied.
function GetSelTextBuf(Buffer: PChar; BufSize: Integer): Integer; override;
virtual __fastcall int GetSelTextBuf(const char * Buffer, int BufSize);
Use GetSelTextBuf to copy the selected text into a character buffer. If there is no selection, the buffer receives an empty string. If the selection contains more than (BufSize - 1) characters, only the first (BufSize - 1) characters are copied. GetSelTextBuf returns the number of characters that were actually copied into the buffer.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|