c# dll to detect boxes(textareas) upon previewmousedown in windows - c#

hello i would like to know if there is any dll or global hook code out there that would allow me to run an application like on screen keyboard as soon as i click on a textarea.
It would be greatly appreciated, google is not being too friendly to me.

It sounds like you might be looking for an Input Method Editor (IME).

Related

Using the Windows On screen keyboard in your Winform application without calling Osk.exe or Tabtip.exe

I want to load the windows on-screen keyboard as part of my application (like importing some dlls or something), not with Process.Start(). Just like this article explained - https://blog.tombam.net/implementing-textbox-with-on-screen-touch-keyboard-part-1/ . Only this solution doesn't work for me (the keyboard doesn't pop-up when clicked on the textbox). Is there another way? Or does anybody know what to do with the project that's in the link to make it work?
Thank you for the help in advance :)

Taking mouse control in C# WPF

I watnt o create a tutorial/guide inside in my application, creating a "demonstration". For this purpose, I need to capture the mouse of the computer, and to be able to move it and click with it.
I want it to feel like if somebody else were there controling your computer. This will be completed with a video of someone, to make you feel like this someone is doing it live in that moment.
Thank you in advance!!!
There isn't WPF solution. You have to use P/Invoke.
To disable keyboard/mouse use BlockInput API (as far as I understand, you don't want user to break up your "demo").
To simulate user input, use SendInput API.
SendInput at pinvoke.net: http://www.pinvoke.net/default.aspx/user32.sendinput
Another option is to use third-party simulators, like this.

Disable other software besides Chrome

I need to write a program that forces Google Chrome to be in the front and disable all other actions like opening another program etc... I just need to have Google Chrome in front of the screen and that's all. I can't allow other programs to pop up.
Any ideas how it can be done?
Thank you!
Im pretty sure as far as you can get is a popup window that has no scrollbar or top bar, and can't be resized, but JS wont let you manipulate stuff outside the current window, just like you cant auto-click links inside an iframe
I highly doubt this is possible in Windows, and if it is it won't be ethical if used on home PCs. Will this be a kiosk style app?
You can control what appears in the browser to some extent, such as scrollbar-less windows but much more than that is impossible.
Definitely not ethical at all but applications such as Fortress 101 can do this. I have done similar things in the past using C and the Win32 API. I won't write the code for you but I basically did the following:
Find the desktop and hide it
Find and hide the taskbar
Find and destroy the start button
Capture special keypresses and prevent them from working as expected
You would also need to poll a process list because even doing all of that doesn't prevent the user from downloading a file and executing it. Thus if you found a new application in the process list, you could destroy it.
You could do this using user32.dll with C# but such an application would better be left to commercial software packages.

Maintain input focus while not the main window

I'm currently starting to write a WinForms application that will need to receive input from Dictation software while Focus is not on the application. I've been searching for clues and the best I have found so far are keyboard focus solutions or trying to use hooks. If anyone has some idea where to start or a hint please let me know.
Thank you.

How to make a right-click translation dictionary application?

I'm trying to write a dictionay application on C#. There is a scenarios that user selects a text and press a hot-key, I want to pop-up a quick windows that display the search result of the selected word (just like Lingoes does)
How would I do it in C#?
Thanks in advance
Start with Google this:
hooks, global hotkeys (for monitoring global keyboard and mouse events)
WinAPI (to do such tricks as grab any selected text)
I've written program you're talking about. You can check the code here - IDictionary.
Regards

Categories

Resources