CWindow::GetTopLevelParent

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

Syntax

HWND GetTopLevelParent( ) 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::GetTopLevelWindow, CWindow::GetWindow