How to catch touch keyboard loading event on windows 8? - c#

I need to replace standard virtual touch keyboard on windows 8, 8.1. I suppose that I need to catch keyboard loading event (create a hook or something like that) and replace this standard keyboard with my own (my own application).
Any suggestions how can I do that? Should I write a windows store application or anything else? The application should be written in C# or in C++.

If you want to use your own custom keyboard instead of windows 8/8.1 default keyboard please prefer the following components for WPF
No need to create any application for this purpose. The component will do all things for you.
https://wpfkb.codeplex.com/
http://www.codeproject.com/Articles/32568/A-Touch-Screen-Keyboard-Control-in-WPF
It works fine with WPF applications (I didn't try this with windows store application). I think it may work with store application also, because it using the same XAML language as WPF to create control

Related

What is the Windows event for showing the desktop?

I want to have some code run when the user tells Windows to show the desktop, such as when the user presses Win+D. I am having issues finding what that event is. I tried using spy++, but couldn't find what I was looking for, and the documentation for things like this seem poor or nonexistent.
Specifically what I want to do is avoid hiding the window because I'm making a desktop overlay program, and having this as the desktop is precisely the purpose of the program. If there is an alternative to handling the Windows event to accomplish this, I would be fine with that. I saw This answer, but unfortunately it doesn't work on Windows 10, which I need to support, along with 7 and 8.

How to check is password field exists in a desktop GUI application?

I am working in Desktop GUI Application. Is there any way to check the desktop GUI application has password field or not from c++ or c#? I wan it only for desktop based not for browser based window application?.
If it is possible, can I access those elements means controls?
In classic Windows (Winforms, Win32), once you get the HWND you can check for the ES_PASSWORD window style.
Nowadays, it is not that simple though, since there are multiple UI technologies being used for various applications. In general, you would need to find out if the app uses Winforms, WPF, QT, HTML5, XUL, or some other tech, and each has its own edit control.
If the app is well-behaved, you may be able to use UI automation to fill the password field. IIRC, Winforms and WPF apps implements UI automation by default.

resize the application to snap view programatically

I am developing a win store application, user can launch other file/application from my application. At that point, I want to keep my application in front of user in the "snap view"
For Windows 8.0, there wasn't a way to control this. In Windows 8.1, the Windows.System.Launcher API--namely the LaunchFileAsync and LaunchUriAsync methods that take a LauncherOptions argument--added support for the LauncherOptions.DesiredRemainingView property. This gives you the kind of control you're looking for here--in your scenario you'd want to use the value ViewSizePreference.UseMinimum in the DesiredRemainingView property.

Modify Windows Login screen

Is it possble to Modify the Window's Login screen and add our own buttons/links? For example is it possible to do something like this?
alt text http://www.allaboutmoss.com/wp-content/uploads/2010/04/windowsxp_login.jpg
The above screen has a link and when clicked it should start a win forms application?
For Windows XP, you can build a GINA DLL, and for Vista+ you need to use the new credential providers system. In both cases, you basically have to build the UI from scratch and so it's not really possible to just take the existing UI and add a few controls here and there.
Of course, you could build your own GINA DLL that displays UI that's the same as the standard Windows XP one, with your own additions, but it's not exactly a simple task.

How can I know which feature is clicked in a Windows Mobile application?

How can I know which feature (menu items, buttons, etc.) is clicked in a Windows Mobile application?
I need to create an app which listens to user clicks globally, much like what windows global hooks does and I need to know which part/control of every application the user clicked on.
TIA!
Thw Windows CE OS itself doesn't support mouse hooks at all. It supports keyboard hooks (unofficially, but it's been there since 1.0). The only way to get all mouse events is to write a custom touchpanel driver and that is no small feat, especially when you have no information about the hardware. Maybe if you give us a better idea why you need this ability, we can offer alternatives.

Categories

Resources