Compartilhar via


CMFCPropertyGridProperty::SetData

Associates a DWORD value with a property.

void SetData(
   DWORD_PTR dwData 
);

Parameters

  • [in] dwData
    An application-specific 32-bit value, such as an integer or a pointer to other data.

Remarks

Use the CMFCPropertyGridProperty::GetData method to retrieve the DWORD value. Use the CMFCPropertyGridCtrl::FindItemByData method to locate the property list item that is associated with the specified DWORD value.

Requirements

Header: afxpropertygridctrl.h

See Also

Reference

CMFCPropertyGridProperty Class

Hierarchy Chart

CMFCPropertyGridProperty::GetData

CMFCPropertyGridCtrl::FindItemByData