CWindow::GetTopLevelWindow

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

Syntax

HWND GetTopLevelWindow( ) const;

At a Glance

Header file: Atlwin.h
Platforms:
Versions: Version 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CWindow Overview, CWindow Methods, CWindow::GetTopLevelParent, CWindow::GetWindow