ChromiumRenderWidgetHandleFinderTryFindHandle Method (IWebBrowser, IntPtr) |
Version 113.3.50
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: 113.3.50.0 (113.3.50.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