ChromiumRenderWidgetHandleFinderTryFindHandle Method (IWebBrowser, IntPtr) |
Version 110.0.300
Chromium's message-loop Window isn't created synchronously, so this may not find it.
If so, you need to wait and try again later.
Namespace:
CefSharp.WinForms.Experimental
Assembly:
CefSharp.WinForms (in CefSharp.WinForms.dll) Version: 110.0.300.0 (110.0.300.0)
Syntax public static bool TryFindHandle(
IWebBrowser chromiumWebBrowser,
out IntPtr chromerRenderWidgetHostHandle
)
public:
static bool TryFindHandle(
IWebBrowser^ chromiumWebBrowser,
[OutAttribute] IntPtr% chromerRenderWidgetHostHandle
)
Parameters
- chromiumWebBrowser
- Type: CefSharpIWebBrowser
ChromiumWebBrowser instance - chromerRenderWidgetHostHandle
- Type: SystemIntPtr
Handle of the child HWND with the name ChromeRenderWidgetHostClassName
Return Value
Type:
Booleanreturns true if the HWND was found otherwise false.
See Also