MiscStatus

Specifies how to create and display an object.

Registry Entry

HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID
\MiscStatus = <
object description>
\
n = value

Value Entries

object description
The value or combination of values from COMMISC that describe the object.
value
Specifies a value from the COMMISC enumeration.

Remarks

Information used to describe objects is found in the COMMISC enumeration.

The default value of MiscStatus is used if a subkey corresponding to the specified DVASPECT is not found. To set an ActiveX control, specify DVASPECT==1. This will cause the following to occur in the Registry:

HKEY_CLASSES_ROOT\CLSID\ . . .\MiscStatus = 1

The following is an example of a MiscStatus entry. Refer to the IOleObject::GetMiscStatus method description for information on the different settings.

HKEY_CLASSES_ROOT\CLSID\{00000402-0000-0000-C000-000000000046}
    \MiscStatus = 2 
 

See Also

IOleObject::GetMiscStatus, COMMISC