共用方式為


CRichEditCtrl::FindWordBreak

Finds the next word break before or after the position specified by nStart.

DWORD FindWordBreak(
   UINT nCode,
   DWORD nStart 
) const;

Parameters

  • nCode
    Indicates the action to take. For a list of possible values, see the description for the parameter code in EM_FINDWORDBREAK in the Windows SDK.

  • nStart
    The zero-based character position from which to start.

Return Value

Based on the parameter nCode. For more information, see EM_FINDWORDBREAK in the Windows SDK.

Remarks

You can use this member function to retrieve information about a character at a given position.

Requirements

Header: afxcmn.h

See Also

Concepts

CRichEditCtrl Class

CRichEditCtrl Members

Hierarchy Chart