EmEditor Home - EmEditor Help - Plug-in Reference - Messages

EE_GET_SEL_TEXTA

Retrieves the selected ANSI text. You can send this message explicitly or by using the Editor_GetSelTextA inline function.

EE_GET_SEL_TEXTA
    wParam = (WPARAM) (UINT) nBufferSize;
    lParam = (LPARAM) (LPSTR) szBuffer;

Parameters

nBufferSize

Specifies the maximum number of characters in bytes to copy to the buffer, including the NULL character.

szBuffer

Pointer to the buffer that will receive the text.

Return Values

If nBufferSize. is zero, the return value is the required size, in bytes, for a buffer that can receive the text. If nBufferSize. is not zero, the return value is not used.

Copyright 2003-2014 by Emurasoft, Inc.