CWindow::GetTopLevelWindow

This method retrieves the window’s top-level parent or owner window.

At a Glance

Header file: Atlwin.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

HWND GetTopLevelWindow( ) const;

See Also

CWindow::GetTopLevelParent, CWindow::GetWindow