COMPONENTCOMPONENT*
*Contents  *Index  *Topic Contents
*Previous Topic: Structures
*Next Topic: COMPONENTSOPT

COMPONENT

typedef struct _tagCOMPONENT {
    DWORD dwSize;
    DWORD dwID;
    int iComponentType;
    BOOL fChecked;
    BOOL fDirty;
    BOOL fNoScroll;
    COMPPOS cpPos;
    WCHAR wszFriendlyName[MAX_PATH];
    WCHAR wszSource[INTERNET_MAX_URL_LENGTH];
} COMPONENT;

Contains the information related to a desktop item.

dwSize
Unsigned long integer value that contains the size of the structure.
dwID
Reserved. Must be set to zero. Will contain the desktop item's identification number when returned from IActiveDesktop::GetDesktopItem.
iComponentType
Integer value that indicates the item type. Can be one of the following values:
COMP_TYPE_CFHTML
COMP_TYPE_CONTROL
COMP_TYPE_HTMLDOC
COMP_TYPE_MAX
COMP_TYPE_PICTURE
COMP_TYPE_WEBSITE
fChecked
Boolean value that indicates whether the component is enabled.
fDirty
Boolean value that indicates whether the component has been modified, but has not been saved yet.
fNoScroll
Boolean value that indicates whether the component is scrollable.
cpPos
COMPPOS structure that contains the position information of the item.
wszFriendlyName
Wide character string that contains the friendly name of the item.
wszSource
Wide character string that contains the URL of the item.

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.