Export (0) Print
Expand All

CDataPathProperty Class

Implements an OLE control property that can be loaded asynchronously.

class CDataPathProperty : public CAsyncMonikerFile

Name

Description

CDataPathProperty::CDataPathProperty

Constructs a CDataPathProperty object.

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.

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:

Header: afxctl.h

Show:
© 2014 Microsoft