EM_LINELENGTH消息 项目 2023/06/14 4 个参与者 反馈 本文内容 参数 返回值 备注 要求 另请参阅 检索编辑控件中行的长度(以字符为单位)。 可以将此消息发送到编辑控件或富编辑控件。 参数 wParam 行中要检索其长度的字符的字符索引。 如果此参数大于控件中的字符数,则返回值为零。 此参数可以为 ...
EM_GETLINECOUNT EM_GETMARGINS EM_GETMODIFY EM_GETPASSWORDCHAR EM_GETRECT EM_GETSEL EM_GETTHUMB EM_GETWORDBREAKPROC EM_HIDEBALLOONTIP EM_LIMITTEXT EM_LINEFROMCHAR EM_LINEINDEX EM_LINELENGTH EM_LINESCROLL EM_NOSETFOCUS EM_POSFROMCHAR EM_REPLACESEL ...
The return value is the length, in characters, of the line specified by the ich parameter when an EM_LINELENGTH message is sent to a multiline edit control. The return value is the length, in characters, of the text in the edit control when an EM_LINELENGTH message is sent to a ...
The return value is the length, in characters, of the line specified by the ich parameter when an EM_LINELENGTH message is sent to a multiline edit control. The return value is the length, in characters, of the text in the edit control when an EM_LINELENGTH message is sent to a ...
em-canundo.md em-charfrompos.md em-convposition.md em-displayband.md em-emptyundobuffer.md em-enablesearchweb.md em-exgetsel.md em-exlimittext.md em-exlinefromchar.md em-exsetsel.md em-filelinefromchar.md em-filelineindex.md em-filelinelength.md em-findtext.md em...
EM_LINELENGTH消息 项目 2023/06/14 4 个参与者 反馈 本文内容 参数 返回值 备注 要求 另请参阅 检索编辑控件中行的长度(以字符为单位)。 可以将此消息发送到编辑控件或富编辑控件。参数wParam 行中要检索其长度的字符的字符索引。 如果此参数大于控件中的字符数,则返回值为零。 此参数可以为 -1。
EM_LINELENGTH消息 项目 2023/06/14 4 个参与者 反馈 本文内容 参数 返回值 备注 要求 另请参阅 检索编辑控件中行的长度(以字符为单位)。 可以将此消息发送到编辑控件或富编辑控件。参数wParam 行中要检索其长度的字符的字符索引。 如果此参数大于控件中的字符数,则返回值为零。 此参数可以为 -1。
EM_LINELENGTH wParam = (WPARAM) ich; lParam = 0; Parameters ich Specifies the character index of a character in the line whose length is to be retrieved when EM_LINELENGTH is sent to a multiline edit control. If this parameter is –1, the message returns the number of unselected charact...
EM_LINELENGTH wParam = (WPARAM) ich; lParam = 0; Parameters ich Specifies the character index of a character in the line whose length is to be retrieved when EM_LINELENGTH is sent to a multiline edit control. If this parameter is -1, the message returns the number of unselected characte...
For single-line edit controls, the return value is the length, in TCHARs, of the text in the edit control. If wParam is greater than the number of characters in the control, the return value is zero. Remarks Use the EM_FILELINEINDEX message to retrieve a character index for a given li...