Поделиться через


CWindow::IsWindow

Определяет, указывает ли заданный дескриптор окна существующее окно.

BOOL IsWindow( ) throw();

Заметки

См. раздел IsWindow в Windows SDK.

Пример

//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 Class

CWindow::IsWindowEnabled

CWindow::IsWindowVisible

CWindow::IsWindowUnicode

CWindow::IsParentDialog