CWnd::GetWindow

CWnd* GetWindow( UINT nCmd ) const;

Return Value

Returns a pointer to the window requested, or NULL if none.

The returned pointer may be temporary and should not be stored for later use.

Parameters

nCmd

Specifies the relationship between CWnd and the returned window. It can take one of the following values:

CWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::GetParent, CWnd::GetNextWindow, ::GetWindow