I simply created a Windows Forms application in Visual Studio using the template and launched it. I want to receive text input without using a standard text box. When the form is active, I'm able to change the input language. But I cannot change IME mode. E.g. when the input language is Japanese, the IME mode icon in the tray becomes a circle with a cross in it. When I hover the mouse over, the tooltip says "IME disabled". Any ideas? Thanks in advance.
Related
I will be developing a JavaFX app for Windows 10. Does anyone know whether a JavaFX TextField on focus can trigger Windows 10 to show up its on screen keyboard?
Your experience is much appreciated!
JavaFX knows how to notify the on-screen touch keyboard HOWEVER we did not find a way to open a specific keyboard type according to the textfield value type.
Other than that assume that the keyboard will always hide the buttom 1/3 part of your app - so that IF you need that real-estate to be active when user types input in - it can't be done.
we are only able to use default layout - see Touch keyboard index on https://msdn.microsoft.com/en-us/library/windows/apps/mt280229.aspx
A follow up on changing they keyboard layout is here:Set numeric layout for windows onscreen keyboard programmatically
I have an idea for a text formatting tool that would be a useful within a number applications.
Is it possible to create an application that would popup when triggered by a hot key or icon click (trigger method not too important) and then give the user options to reformat the text in the active text box of whatever application is active.
I suspect there might be some standard winapi way to do this that would work on many applications but would not work on apps that are using proprietary text box widgets. Is this the case ?
I'm developing an app using wxpython for use specifically with a Microsoft surface, which requires text input. Is there a way to automatically bring up the onscreen keyboard when an input box is selected?
You can create an onscreen keyboard with wxPython for your applications. If you want keyboard to appear when you click your app's wx.TextCtrl, you just need to bind wx.EVT_LEFT_DOWN and/or wx.EVT_LEFT_UP events to it. However, if you want keyboard to appear when any app's input is clicked then it is really hard to achieve, instead you can assign a function key to popup.
Does anyone knows which (if any) StaticResources are used for the Windows Phone keyboard?
I'm creating my own keyboard (with only numbers, a clear all and a enter/search button) and want it to look like the default keyboard (fontsize, background and border color etc.)
You would need to create a custom control and shape it the way you need. You don't have access to any of the keyboard styles.
Check this guy out, he creates a keyboard from scratch:
http://www.silverlightshow.net/items/Windows-Phone-7-Creating-Custom-Keyboard.aspx
Actually am trying to get the font used in a windows form control which is running from the other application by using WM_GETFONT with SENDMESSAGE function but am ending always with 0 even if the font of the control is not System font. Plz.... help me out.
Thanks in advance....!
Each control decides what font or fonts it uses. Controls intended to be used inside a dialog box should support WM_SETFONT and WM_GETFONT since that is how the dialog manager sets the dialog font. For all other controls, support for these messages is optional. Windows Forms controls do not appear in dialog boxes (they appear on Forms) so there is no reason to expect them to support WM_SETFONT or WM_GETFONT. If you know that you have a Windows Forms control, then you can use the appropriate Windows Forms methods and properties to get the font.