CWebView::IsEnabled Method  
 
BOOL IsEnabled();

The IsEnabled method determines if the browser window is currently enabled.

Parameters

None.

Return Value

If the browser window is enabled, the return value is non-zero. If the window is not enabled or has been closed, the return value is zero.

Remarks

The IsEnabled method checks the state of window used by the browser control. This method returns the current state of the window, which may have been changed by calling the EnableWindow method.

Disabling the browser window prevents it from receiving keyboard and mouse input, but does not hide the browser or prevent its content from being updated. The enabled state is independent of the browser's visibility, which can be controlled using the Show method. This method only checks the enabled state of the browser control's child window. If the host window or one of its parent windows is disabled, the browser may not accept user input even if this function returns a non-zero value.

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