次の方法で共有


COlePasteSpecialDialog::GetDrawAspect

Determines if the user chose to display the selected item as an icon.

DVASPECT GetDrawAspect( ) const;

Return Value

The method needed to render the object.

  • DVASPECT_CONTENT   Returned if the Display As Icon check box was not checked when the dialog box was dismissed.

  • DVASPECT_ICON   Returned if the Display As Icon check box was checked when the dialog box was dismissed.

Remarks

Only call this function after DoModal returns IDOK.

For more information on drawing aspect, see the FORMATETC structure in the Windows SDK.

Requirements

Header: afxodlgs.h

See Also

Reference

COlePasteSpecialDialog Class

Hierarchy Chart

COlePasteSpecialDialog::DoModal