Retrieves the Unicode text on the specified cell. You can use this inline function or explicitly send the EE_GET_CELL message.

Editor_GetCell( HWND hwnd, GET_CELL_INFO* pGetCellInfo, LPWSTR szString );



Specifies the window handle of the view or frame of EmEditor.


Pointer to the GET_CELL_INFO structure.


Pointer to the buffer that will receive the text.

Return Values

If pGetCellInfo->cch is zero, the return value is the required size, in characters, for a buffer that can receive the text. If pGetLineInfo->cch is not zero, the return value is not used. If pGetCellInfo->iColumn is -1, the return value is the number of columns.