BCGSuite for MFC
TCHAR CBCGPEditCtrl::GetCharAt ( int  nPos,
BOOL  bCheckForErros = TRUE 
) const
inline

Returns a character from the internal text buffer at the given position.

Returns
Either character or 0 if error occurred.

Call this function to retrieve a character from the buffer. If bCheckForErrors is TRUE there is no assertion, but the function returns 0.

Parameters
nPosSpecifies the offset in the internal buffer.
bCheckForErrosIf TRUE the function checks nPos for validity.