CWindow::IsWindow

Bestimmt, ob das angegebene Fensterhandle ein vorhandenes Fenster identifiziert.

BOOL IsWindow( ) throw();

Hinweise

Siehe IsWindow in Windows SDK.

Beispiel

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

Anforderungen

Header: atlwin.h

Siehe auch

Referenz

CWindow-Klasse

CWindow::IsWindowEnabled

CWindow::IsWindowVisible

CWindow::IsWindowUnicode

CWindow::IsParentDialog