CDataPathProperty Class

Implements an OLE control property that can be loaded asynchronously.

class CDataPathProperty : public CAsyncMonikerFile

Members

Public Constructors

Name

Description

CDataPathProperty::CDataPathProperty

Constructs a CDataPathProperty object.

Public Methods

Name

Description

CDataPathProperty::GetControl

Retrieves the asynchronous OLE control associated with the CDataPathProperty object.

CDataPathProperty::GetPath

Retrieves the pathname of the property.

CDataPathProperty::Open

Initiates loading of the asynchronous property for the associated ActiveX (OLE) control.

CDataPathProperty::ResetData

Calls CAsyncMonikerFile::OnDataAvailable to notify the container that the control properties have changed.

CDataPathProperty::SetControl

Sets the asynchronous ActiveX (OLE) control associated with the property.

CDataPathProperty::SetPath

Sets the pathname of the property.

Remarks

Asynchronous properties are loaded after synchronous initiation.

The class CDataPathProperty is derived from CAysncMonikerFile. To implement asynchronous properties in your OLE controls, derive a class from CDataPathProperty, and override OnDataAvailable.

For more information about how to use asynchronous monikers and ActiveX controls in Internet applications, see the following articles:

Inheritance Hierarchy

CObject

CFile

COleStreamFile

CMonikerFile

CAsyncMonikerFile

CDataPathProperty

Requirements

Header: afxctl.h

See Also

Reference

CAsyncMonikerFile Class

Hierarchy Chart

CAsyncMonikerFile Class

Concepts

MFC Sample Image