SECEditController::GetWindowText

int SECEditController::GetWindowText(LPTSTR lpszStringBuf, int nMaxCount, CString& rString)

Returns the window text.

Defined in: SECEditControllerCEditEmul.cpp

Return Value

Specifies the length, in bytes, of the copied string, not including the terminating null character. It is 0 if window has no text.

Parameters

lpszStringBuf

Points to the buffer that is to receive the copied string of the window text.

nMaxCount

Specifies the maximum number of characters to be copied to the buffer. If the string is longer than the number of characters specified in nMaxCount, it is truncated.

rString

A CString object that is to receive the copied string of the window text.

Developer Notes

This method is provided as a part of the Objective Edit CEdit compatiblity layer.

See Also

SECEditController