CWindow::IsWindow

BOOL IsWindow( );

See IsWindow in the Win32 SDK.

Remarks

Determines whether the specified window handle identifies an existing window.

Example

//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(hWndFoo);
BOOL bWindow = myWindow.IsWindow();

CWindow OverviewClass Members

See Also   CWindow::IsWindowEnabled, CWindow::IsWindowVisible, CWindow::IsWindowUnicode