应用程序发送一个EM_SCROLLCARET消息,以在编辑控件中将插入符号滚动到视图中。
EM_SCROLLCARET
wParam = 0 ; //现在不用保留供将来使用;必须为零
lParam = 0 ; //现在不用保留供将来使用;必须为零
参数
【wParam中】
此参数当前未使用。保留供将来使用。它应该设置为零。
【lParam的】
此参数当前未使用。保留供将来使用。它应该设置为零。
返回值
如果将消息发送到编辑控件,则返回值不为零。
备注
In previous versions of Windows, scrolling the caret into view was done by specifying 【wParam中】= FALSE in the EM_SETSEL message. A Win32-based application should use the EM_SCROLLCARET message to scroll the caret into view.
也可以看看