Dela via


CAtlPreviewCtrlImpl::Create

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

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

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.

Return Value

TRUE if successful; otherwise FALSE.

Requirements

Header: atlpreviewctrlimpl.h

See Also

Reference

CAtlPreviewCtrlImpl Class