大网数据广告活动
Windows 系统接口

Keyboard Handling in Controls

· 52CE 我爱测

Keyboard handling support for the following functionality is strongly recommended, although it is recognized that it is not applicable to all containers.

Keyboard handling support for the following functionality is strongly recommended, although it is recognized that it is not applicable to all containers.

  • Support for OLEMISC_ACTSLIKELABEL and OLEMISC_ACTSLIKEBUTTON status bits.
  • Implementing the DisplayAsDefault ambient property (if it exists, it can return FALSE).
  • Implementing tab handling, including tab order.

Some containers will use ActiveX controls in traditional compound document scenarios. For example, a spreadsheet may allow a user to embed an ActiveX control into a worksheet. In such scenarios, the container would do keyboard handling differently, because the keyboard interface should remain consistent with the user's expectations of a spreadsheet. Documentation for such products should inform users of differences in control handling in these different scenarios. Other containers should endeavor to honor the above functionality correctly, including Mnemonic handling.

Related topics

Containers

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。