Поделиться через


CWnd::GetProperty

Call this member function to get the ActiveX control property specified by dwDispID.

void GetProperty(
   DISPID dwDispID,
   VARTYPE vtProp,
   void* pvProp 
)const;

Параметры

  • dwDispID
    Identifies the property to be retrieved.

  • vtProp
    Specifies the type of the property to be retrieved. For possible values, see the Remarks section for COleDispatchDriver::InvokeHelper.

  • pvProp
    Address of the variable that will that will receive the property value. It must match the type specified by vtProp.

Заметки

GetProperty returns the value through pvProp.

ПримечаниеПримечание.

This function should be called only on a CWnd object that represents an ActiveX control.

For more information about using this member function with ActiveX Control Containers, see the article ActiveX Control Containers: Programming ActiveX Controls in an ActiveX Control Container.

Требования

Header: afxwin.h

См. также

Основные понятия

CWnd Class

CWnd Members

Hierarchy Chart

CWnd::InvokeHelper

COleDispatchDriver Class

CWnd::CreateControl