다음을 통해 공유


COleControlSite::BindProperty

Binds the calling object's simple bound property, as marked in the type library, to the underlying cursor that is defined by the DataSource, UserName, Password, and SQL properties of the data-source control.

virtual void BindProperty(
   DISPID dwDispId,
   CWnd* pWndDSC 
);

Parameters

  • dwDispId
    Specifies the DISPID of a property on a data-bound control that is to be bound to a data-source control.

  • pWndDSC
    A pointer to the CWnd-derived object that hosts the data-source control to which the property will be bound.

Remarks

The CWnd object on which you call this function must be a data-bound control.

Requirements

Header: afxocc.h

See Also

Concepts

COleControlSite Class

COleControlSite Members

Hierarchy Chart

COleControlSite::BindDefaultProperty