control attribute
The [control] attribute identifies a coclass or library as a COM control, from which a container site will derive additional type libraries or component object classes.
[
uuid,
control
[, attribute-list]
]
library | coclass lib-or-coclassname
{
definitions
}
Parameters
-
attribute-list
-
Specifies zero or more attributes that apply to the library or coclass statement. Separate multiple attributes with commas.
-
lib-or-coclassname
-
definitions
-
MIDL statements that specify the members of the library or coclass.
Remarks
This attribute allows you to mark type libraries that describe controls so they will not be displayed in type browsers intended for nonvisual objects.
Flags
TYPEFLAG_FCONTROL, LIBFLAG_FCONTROL
Examples
[
uuid(12345678-1234-1234-1234-123456789ABC),
helpstring("Hello 2.1 COM Control Library"),
control,version(2.1)
]
library Hello
{
/* library definitions */
}
See also
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin