在MFC wizard生成的MDI程序里,观察生成的资源,对于 Cut 操作,绑定了 VK_DELETE 键。也就是说,当按下 delete 键时,会进入到 ID_EDIT_CUT 事件的响应函数中去
IDR_MAINFRAME ACCELERATORS
BEGIN
VK_DELETE, ID_EDIT_CUT, VIRTKEY, NOINVERT
"X", ID_EDIT_CUT, VIRTKEY, CONTROL, NOINVERT
END
-
在MFC wizard生成的MDI程序里,观察生成的资源,对于 Cut 操作,绑定了 VK_DELETE 键。也就是说,当按下 delete 键时,会进入到 ID_EDIT_CUT 事件的响应函数中去
IDR_MAINFRAME ACCELERATORS
BEGIN
VK_DELETE, ID_EDIT_CUT, VIRTKEY, NOINVERT
"X", ID_EDIT_CUT, VIRTKEY, CONTROL, NOINVERT
END
-
转载于:https://www.cnblogs.com/yapzhang/archive/2011/06/08/2075156.html