MvcViewport::GetWnd

CWnd*MvcViewport::GetWnd(void)

Reports the window this visual part is drawn within

Defined in: MvcViewport.cpp

Return Value

A pointer to the window

Comments

This function recurses up to the topmost component until it finds the visual part (usually an MvcWindow) at the root of the visual structure and forwards the call to the topmost component. Therefore, the topmost visual part should override this function and return a real window.