COleClientItem::SetDrawAspect

void SetDrawAspect( DVASPECT nDrawAspect );

Parameters

nDrawAspect

A value from the DVASPECT enumeration. This parameter can have one of the following values:

Remarks

Call the SetDrawAspect member function to set the “aspect,” or view, of the item. The aspect specifies how the item is to be rendered by Draw when the default value for that function’s nDrawAspect argument is used.

This function is called automatically by the Change Icon (and other dialogs that call the Change Icon dialog directly) to enable the iconic display aspect when requested by the user.

COleClientItem OverviewClass MembersHierarchy Chart

See Also   COleClientItem::GetDrawAspect, COleClientItem::Draw