ChromiumRenderWidgetHandleFinderTryFindHandle Method (IBrowser, IntPtr) |
Version 107.1.120
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: 107.1.120.0 (107.1.120.0)
Syntax public static bool TryFindHandle(
IBrowser browser,
out IntPtr chromerRenderWidgetHostHandle
)
public:
static bool TryFindHandle(
IBrowser^ browser,
[OutAttribute] IntPtr% chromerRenderWidgetHostHandle
)
Parameters
- browser
- Type: CefSharpIBrowser
IBrowser 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