在CEdit的控件中没有OnKeyPress之类的事件。
怎么办? thanks!
怎么办? thanks!
解决方案 »
- OffsetWindowOrgEx (hdc, -42, 0, NULL)
- 可以改变颜色和排序的扩展CListCtrl类
- 高分求助50,哪位大侠帮帮忙Active,ocx组件的问题急急急!!!!
- 如何改变excel的标题
- 如何读取另外一个应用程序界面上的内容?
- 一个关于CContainedWindow 的问题
- 如何制作微软SmartPhone 上的plug in
- 句柄是干什么用的?
- visual c++6.0 光标移动有问题
- 如何把汇编融入到VC++中?
- 关于 Use MFC in a Shared DLL 和 Use MFC in a Static Library 的问题。急!高分!
- 什么是com
{
if (pMsg->message==WM_KEYDOWN && pMsg->wParam==VK_RETURN) ....
}
{
if (pMsg->message==WM_KEYDOWN && pMsg-wParam==VK_RETURN)
xxx.SetFocus();
}
PreTranslateMessage(MSG* pMsg)
{
if (pMsg->message==WM_KEYDOWN && pMsg-wParam==VK_RETURN)
pMsg->wParam = VK_TAB;
}你的编辑框要有连续的焦点顺序,用Layout --> Tab order设置好(Ctrl + d)