哪位高手有richedit->Perform 这个函数的资料
谁有richedit->Perform 这个函数的资料
包括里面所有能用到的宏,比如EM_EXLINEFROMCHAR 这些,还有这些宏指的各是什么意思,先谢谢大家了
------解决方案--------------------
有关richedit的消息,参考
http://www.winu.cn/space.php?uid=14160&do=blog&id=2208
具体消息的内容,可参考BCB的windows SDK手册,如:
The EM_EXLINEFROMCHAR message determines which line contains the specified character in a rich edit control.
EM_EXLINEFROMCHAR
wParam = 0;
lParam = (LPARAM) (DWORD) ichCharPos;
Parameters
ichCharPos
Zero-based index of the character.
Return Values
Returns the zero-based index of the line.
或直接在MSDN上查找
------解决方案--------------------
看看richedit.h就够了,这些消息从字面上也比较容易理解。
至于楼主在一楼提到的问题,可以google "EM_SCROLLCARET"
包括里面所有能用到的宏,比如EM_EXLINEFROMCHAR 这些,还有这些宏指的各是什么意思,先谢谢大家了
------解决方案--------------------
有关richedit的消息,参考
http://www.winu.cn/space.php?uid=14160&do=blog&id=2208
具体消息的内容,可参考BCB的windows SDK手册,如:
The EM_EXLINEFROMCHAR message determines which line contains the specified character in a rich edit control.
EM_EXLINEFROMCHAR
wParam = 0;
lParam = (LPARAM) (DWORD) ichCharPos;
Parameters
ichCharPos
Zero-based index of the character.
Return Values
Returns the zero-based index of the line.
或直接在MSDN上查找
------解决方案--------------------
看看richedit.h就够了,这些消息从字面上也比较容易理解。
至于楼主在一楼提到的问题,可以google "EM_SCROLLCARET"