Compartir a través de


CWindow::IsWindow

determina si el identificador de ventana especificado identifica una ventana existente.

BOOL IsWindow( ) throw();

Comentarios

Vea IsWindow en Windows SDK.

Ejemplo

//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();

Requisitos

encabezado: atlwin.h

Vea también

Referencia

Clase de CWindow

CWindow::IsWindowEnabled

CWindow::IsWindowVisible

CWindow::IsWindowUnicode

CWindow::IsParentDialog