CefSharp - How to get feedback if clicked an inputfield? - wpf

I'm new to CefSharp. Right now on one side I'm using cefsharp on my server to get an image/screenshot of my off-screen-browser. On the other side I have the client that is requesting and interacting with this image.
So clicking on the image, getting the coordinates and transfer that information to cefsharp to perform the same interaction, works well. But now I'm sitting in front of an login-screen and want to click the inputfield.
So clicking works, but now I want to spawn a keyboard, so I can type sth into the inputfield. How can I get feedback that I clicked into an inputfield?
My project is setup in Unity, C#.

Related

Keyboard focus problems

I am needing to use the DotNetBrowserControl inside of another application (I am an add-in in the application). The application is written in WPF and has some WinForms components.
When I try to use the WPFBrowserView in the app I can never get focus to go into the Browser Window at all (even when clicking on a the google search box for example).
When I try to use the WinformsBrowserView inside of a WindowsFormsHost control I am able to get focus into the google search box by clicking on it. However once I click focus out of the browser control (to a WPF textbox for example) I can never get Keyboard focus back into the browser (even when clicking on a textbox in the browser).
It seams I am closest on getting the WInformsBrowserView working. Does anyone have any advice on how to force focus into the browser window? Even if I could programmatically force this to happen it would be a huge help.
We have implemented force focus feature for DotNetBrowser, but it is not yet present in the current version. We plan to add it to the next version of DotNetBrowser. If you need a build with this feature present, please get in touch with us via DotNetBrowser support email, and we will provide you with a preview build.

Enabling microsoft accessibility for Flex Window hangs application after clicking on identified object

After enabling accessibility for a flex window object, I fired an object.click which brought up a dialog-box. After closing the dialog box, the application went to hung state. So I found the coordinates of object using getrect , restarted both application and silk, kept accessibility disabled clicked on the mainwindow using the coordinates and the problem did not recur. The problem even when I retrieved the coordinates with accessibility and manually clicked on the icon.
I am even unable to fetch locator hierarchy with accessibility enabled when I try to retrieve for objects that are visible only through enabled accessibility. Nothing is captured (blank recorder hierarchy) and the recording stops working any further. I guess the agent goes into some kind of loop or excepts out. Kindly advise.
This was a product issue and got this fixed - not an issue on SilkTest side

Loose focus vnc viewer issue

The question is already asked in below link
i can't see a context menu of WPF windows app through VNC
But my requirements are slightly differ from it.
When I run my application in vnc viewer, and click on start menu from vnc toolbar and back to my application, right click on textbox does not show context menu like, copy, paste, cut.
Then, when i go task manager, right click on my application, and do "bring to front", then everything is working fine.
So I just want to know what is happening while clicking on vnc toolbar button, will take my application's focus back.
Thanks,
Rajnikant

Facebook Like with Send on a mobile Web page

My experience is that Facebook Like works fine on mobile pages in general, but I now also want to add the Send/Share button.
When I click on the Send button the window being opened is so large (clearly more than 320 pixels wide) that it instead is shown almost completely outside of the display to the left (the right edge of the window being just beside the Send button).
Is there a way via the Social Plugins or via the API to create a Send/Share form that would fit inside of 320 pixels?
I've worked with the Graph API before, so that would not be a show-stopper.
Thanks in advance,
Anders
Try this send dialog.
http://developers.facebook.com/docs/reference/dialogs/send/
And try forcing the display mode to wap
http://developers.facebook.com/docs/reference/dialogs/#display

In Silverlight, How can I disable Back and Forward navigation using browser buttons?

I'm using the Navigational Framework in Silverlight 4. I'm starting to believe that this was a mistake as the browser buttons are really screwing things up for users. For instance, when a child window is opened the user believes they can close the window by pressing the back button. It doesn't close the window obviously, it just navigates the parent page back a step. The end result is a messed up data set. I'm fed up with the little control I have over the navigation of my application; forward and back buttons are anachronistic. Web applications don't work that way anymore. Please someone tell me how I can disable their functionality; that is, cancel navigation when it is started from one of these buttons.
Remove this code from your html page which holds your silverlight XAP:
<iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe>
This is the history frame.
You will likely have to do this in the actual web/asp.net page, as Silverlight has no real control over the browser.
Some workarounds in this article:
http://lennilobel.wordpress.com/2009/07/26/defeat-the-evil-back-button-in-your-asp-net-applications/

Resources