次の方法で共有


CWindow::GetTopLevelParent

ウィンドウのトップレベルの親ウィンドウを取得します。

HWND GetTopLevelParent( ) const throw();

戻り値

トップレベルの親ウィンドウへのハンドル。

必要条件

Header: atlwin.h

参照

関連項目

CWindow クラス

CWindow::GetParent

CWindow::GetTopLevelWindow

CWindow::GetWindow