CMvcWindowlessViewport Class

class CMvcWindowlessViewport: public _Base, public IVisualWindow

This is a wrapper class that implements a given viewport as windowless. It mixes in the IVisualWindow interface and implements it by returning the parent window handle.

Defined in: MvcViewport.h

Class Template Arguments

_Base

Base viewport class to wrap as a windowless viewport.

Class Members

HWND m_hWnd

Parent window handle.

virtual BOOL Create(HWND hWndParent, LPRECT rc)

Creates the viewport given a parent window and a rectangle.

virtual HWND GetWindowHandle()

Return the window handle for the viewport.