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

Properties and Methods

· 52CE 我爱测

Like any OLE object, a control provides much of its functionality through a set of incoming interfaces with properties and methods.

Like any OLE object, a control provides much of its functionality through a set of incoming interfaces with properties and methods.

A control exposes properties and methods through OLE automation so that containers can access them under the control of a container-supplied programming language.

To support access to properties through a user interface, a control provides property pages, support for OLEIVERB_PROPERTIES, per property browsing, and data binding through property change notifications.

  • Through property pages a control can display its properties, independent of its container, if necessary.
  • By supporting OLEIVERB_PROPERTIES, the Properties item is displayed on the container's menu. Then, the end user can select the Properties item to view the control's property pages and modify the properties.
  • Per property browsing supports a container that can display the control's properties as part of a larger property sheet that may include properties from several controls in the container.
  • Through property change notification, a control can notify a client that its properties have change, allowing the client to take any necessary actions as a result.

For more information, see the following topics:

Related topics

ActiveX Controls

Property Pages and Property Sheets

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)

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

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