Muokkaa

Jaa


Defining Component Categories

The author of a component category definition creates a unique GUID (the CATID) that is published along with the definition. Other parties know the definition of this type and can make use of its supported classes accordingly. Like the method signature of an interface, a category's semantics should not be modified after being installed. It is better to maintain backward compatibility of the category by introducing a new category identifier with revised semantics.

Because interface identifiers (IID) and component category identifiers (CATID) exist in different namespaces, it seems as if it would be possible to use the same GUID for both an IID and a CATID. However, since IIDs are often used for the CLSID of the interface's proxy/stub server, there is the potential for conflict. Therefore, do not use the same GUID for an IID and CATID.

Associating Icons with a Category

Categorizing by Component Capabilities

Categorizing by Container Capabilities

Default Classes and Associations

The Component Categories Manager