v2.22
ISystemStyleManager Interface Reference

Allows the user to obtain system styles. This interface can be obtained from IProject interface. More...

Inheritance diagram for ISystemStyleManager:

Public Member Functions

HRESULT GetIds ([out, retval] SAFEARRAY(int) *pIds)
 Gets the identifiers of system styles. More...
 
HRESULT Contains ([in] int id, [out, retval] VARIANT_BOOL *pContains)
 Indicates whether the manager contains the system style specified by the identifier. More...
 
HRESULT GetSystemStyle ([in] int id, [out, retval] ISystemStyle **ppSystemStyle)
 Returns the system style specified by the identifier. More...
 

Detailed Description

Allows the user to obtain system styles. This interface can be obtained from IProject interface.

See also
IProject, ISystemStyle

Member Function Documentation

◆ Contains()

HRESULT ISystemStyleManager::Contains ( [in] int  id,
[out, retval] VARIANT_BOOL *  pContains 
)

Indicates whether the manager contains the system style specified by the identifier.

Parameters
[in]idIdentifier of the system style.
[out]pContainsTRUE if the manager contains the system style, FALSE otherwise.

◆ GetIds()

HRESULT ISystemStyleManager::GetIds ( [out, retval] SAFEARRAY(int) *  pIds)

Gets the identifiers of system styles.

Returns
An array containing the identifiers of system styles.

◆ GetSystemStyle()

HRESULT ISystemStyleManager::GetSystemStyle ( [in] int  id,
[out, retval] ISystemStyle **  ppSystemStyle 
)

Returns the system style specified by the identifier.

Parameters
[in]idIdentifier of the system style.
[out]ppSystemStylethe requested beam style, or nullptr if the system style is not found.