CMvcAtlWndViewport::Create

Creates the viewport given a parent window and a rectangle.

Defined in: MvcAtl.h

Syntax

BOOL Create(HWND hWndParent, LPRECT rc)

BOOL Create(HWND hWndParent, RECT& rcPos, LPCTSTR lpszCaption = 0, DWORD dwStyle = 0, DWORD dwExStyle = 0,&#09UINT nId = 0, LPVOID lpCreateParam = 0)

Return Value

TRUE if successful, otherwise FALSE

Parameters

hWndParent

Handle of parent window

rc

Bounds of viewport to create