共用方式為


CMFCPreviewCtrlImpl::SetHost

Sets a new parent for this control.

virtual void SetHost(
   HWND hWndParent
);

Parameters

  • hWndParent
    A handle to the new parent window.

Requirements

Header: afxwin.h

See Also

Reference

CMFCPreviewCtrlImpl Class