다음을 통해 공유


CMFCPreviewCtrlImpl::Create

Overloaded. Called by a Rich Preview handler to create the Windows window.

virtual BOOL Create(
   HWND hWndParent,
   const RECT* prc
);
virtual BOOL Create(
   HWND hWndParent,
   const RECT* prc,
   CCreateContext* pContext
);

Parameters

  • hWndParent
    A handle to the host window supplied by the Shell for Rich Preview.

  • prc
    Specifies the initial size and position of the window.

  • pContext
    A pointer to a creation context.

Return Value

TRUE if creation succeeded; otherwise FALSE.

Requirements

Header: afxwin.h

See Also

Reference

CMFCPreviewCtrlImpl Class