佚名通过本文主要向大家介绍了cedit设置光标位置,cedit 默认快捷键,cedit,cedit类,cedit获取内容等相关知识,希望对您有所帮助,也希望大家支持linkedu.com www.linkedu.com
问题: 我的 CEdit 不处理键盘光标键,怎么办?
描述:
解决方案1:
描述:
我将 CEdit 放在 ActiveX 中
m_edit.Create (WS_CHILD | WS_VISIBLE | WS_BORDER |WS_TABSTOP,
CRect (0, 0, 200, 50), this, 30432);
m_edit2.Create (WS_CHILD | WS_VISIBLE | WS_BORDER|WS_TABSTOP,
CRect (0, 60, 200, 100), this, 30733);
使用SPY监测,m_edit能接收到键盘上光标键的按下事件,但他怎么不处理这个事件呢?
解决方案1:
要使用ActiveX的事件机制。