Share via


CWindow::IsWindow

指定されたウィンドウ ハンドルが既存のウィンドウを識別するかどうかを判定します。

BOOL IsWindow( ) throw();

解説

Windows SDKの IsWindow を参照してください。

使用例

//The following example attaches an HWND to the CWindow object and 
//calls CWindow::IsWindow() to verify if the HWND corresponds 
//to an existing window

CWindow myWindow;
myWindow.Attach(hWnd);
BOOL bWindow = myWindow.IsWindow();

必要条件

Header: atlwin.h

参照

関連項目

CWindow クラス

CWindow::IsWindowEnabled

CWindow::IsWindowVisible

CWindow::IsWindowUnicode

CWindow::IsParentDialog