CWebView::IsAttached Method  
 
BOOL IsAttached();

The IsAttached method determines if the class instance is attached to a window.

Parameters

None.

Return Value

If the class instance is attached to a host window, the return value is non-zero. If class is not attached to a window, the return value is zero.

Remarks

The IsAttached method checks whether the class instance has been attached to a window with the Attach method, or the class has been used to create a new top-level browser window with the Create method. To get the window handle to the host window, use the GetSafeHwnd method.

Requirements

Minimum Desktop Platform: Windows 7 Service Pack 1
Minimum Server Platform: Windows Server 2008 R2 Service Pack 1
Header File: cstools12.h
Import Library: cshtmv12.lib

See Also