DoModal

本文详细介绍了CMFCKeyMapDialog::DoModal方法,展示了如何使用键盘映射对话框为不同命令分配加速键,并提供了复制快捷键及其描述到剪贴板的功能。此对话框对于定制用户界面快捷方式非常有用。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

CMFCKeyMapDialog::DoModal
Displays a keyboard mapping dialog box显示键盘映射对话框
virtual INT_PTR DoModal();

Return Value
A signed integer, such as IDOK or IDCANCEL, that is passed to the CDialog::EndDialog method. The method, in turn, closes the dialog box. For more information, see CDialog::DoModal.
一个带符号整数,如IDOK或IDC撤,传递给cCalule::EndiCudio方法。该方法依次关闭对话框。有关更多信息,请参见c对话框::DoModal。

Remarks
The keyboard mapping dialog box enables you to select and assign accelerator keys to various categories of commands. In addition, you can copy the selected accelerator keys and their description to the clipboard.
键盘映射对话框使您可以选择和指派加速键到各种类型的命令。此外,您可以将选定的快捷键及其描述复制到剪贴板。

Requirements
Header:
afxkeymapdialog.h

See AlsoReferenceCMFCKeyMapDialog ClassHierarchy Chart

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值