Replies: 1 comment 4 replies
-
By default CEF uses it's own message loop, messages from Chromium don't propagate to the parent form. You can integrate CEF into your apps message loop or hook the low level hwnd to get the activate message. https://github.com/cefsharp/CefSharp/wiki/General-Usage#multithreadedmessageloop Likely in version 90 I'll add a version of ChromeWidgetMessageInterceptor to simplify hooking the chromium hwnd. As for selected text IContextMenuParams has contextual specific options including the currently selected text. http://cefsharp.github.io/api/89.0.x/html/T_CefSharp_IContextMenuHandler.htm |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have a custom context menu that implement copy / cut/ paste functionality, 1. the problem is that clicking on empty area on the page doesn't close the menu, the menu is stuck. 2. can i get the text copied by the copy function in code? tried the clipboard but the copied text is not the one i copied through the context menu browser.FocusedFrame.Copy();
thanks.
Beta Was this translation helpful? Give feedback.
All reactions