BOOL CBCGPEditCtrl::GetWordFromOffset | ( | int | nOffset, |
CString & | strWord | ||
) | const |
Given an offset from the beginning of the text returns a word at this offset.
Given an offset from the beginning of the text returns a word at this offset. The "word" is a set of characters surrounded by delimiters defined in m_strWordDelimiters.
nOffset | Specifies the offset. |
strWord | Out parameter. If the function succeeds will contained a word when the function returns. |