大网数据广告活动
安装更新与部署

Enabled Control Attribute

· 52CE 我爱测

This attribute specifies if the given control is enabled or disabled. Most controls appear gray when disabled.

This attribute specifies if the given control is enabled or disabled. Most controls appear gray when disabled.

If this bit is set, the control is created as enabled.

If this bit is not set, the control is created as disabled.

Valid Controls

All controls. The appearance of some controls that are not associated with a property, such as Bitmaps and Icons, are unaffected by setting this attribute.

Value

Decimal Hexadecimal Constant
2 0x00000002 msidbControlAttributesEnabled

Remarks

You can also use the ControlCondition table to disable or enable a control according to the value of a property or conditional statement.

You can also enable or disable a control by subscribing the control to a ControlEvent. Enter the attribute's identifier in the Attribute column and the event's identifier in the Event column of the EventMapping table.

See Control Attributes and the control you need to create under Controls.

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)

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

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