wParam 要检索其编号的行中包含的字符的字符索引。 如果此参数为 -1, EM_LINEFROMCHAR 将检索当前行的行号 (包含脱字号) 或者,如果有选定内容,则检索包含所选内容的开头的行号。 lParam 未使用此参数。返回值返回值是包含 wParam 指定的字符索引的行的从零开始的行号。
EM_LINEFROMCHAR wParam = (WPARAM) ich; lParam = 0; Parametersich Specifies the character index of the character contained in the line whose number is to be retrieved. If the ich parameter is –1, either the line number of the current line is retrieved or, if there is a selection, the ...
EM_LINEFROMCHAR wParam = (WPARAM) ich; lParam = 0; Parameters ich Specifies the character index of the character contained in the line whose number is to be retrieved. If theichparameter is -1, either the line number of the current line is retrieved or, if there is a selection, the lin...
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-fi...
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 ...
如果此参数为 -1, EM_LINEFROMCHAR 将检索当前行的行号 (包含脱字号) 或者,如果有选定内容,则检索包含所选内容的开头的行号。 lParam 未使用此参数。 返回值 返回值是包含 wParam 指定的字符索引的行的从零开始的行号。 备注 Rich Edit: 在Microsoft Rich Edit 1.0 及更高版本中受支持。 如果字符索引大于 64...
EM_LINEFROMCHAR wParam = (WPARAM) ich; lParam = 0; Parametersich Specifies the character index of the character contained in the line whose number is to be retrieved. If the ich parameter is –1, either the line number of the current line is retrieved or, if there is a selection, the ...
wParam 要检索其编号的行中包含的字符的字符索引。 如果此参数为 -1, EM_LINEFROMCHAR 将检索当前行的行号 (包含脱字号) 或者,如果有选定内容,则检索包含所选内容的开头的行号。 lParam 未使用此参数。返回值返回值是包含 wParam 指定的字符索引的行的从零开始的行号。
EM_LINEFROMCHAR消息 Microsoft Learn Challenge Nov 23, 2024 – Jan 10, 2025 立即注册 消除警报 Learn 发现 产品文档 开发语言 主题 登录 Windows 应用开发 探究 开发 平台 故障排除 资源 仪表板 此主题的部分內容可能由机器或 AI 翻译。 消除警报 Windows 控件...
EM_LINEFROMCHAR wParam = (WPARAM) ich; lParam = 0; Parametersich Specifies the character index of the character contained in the line whose number is to be retrieved. If the ich parameter is –1, either the line number of the current line is retrieved or, if there is a selection, the ...