Implementing Chinese input keywords on a blank form under
C#: PS-like text tool, Chinese input. Repeated interception of Chinese. Recently, I have been researching on making a PS-like text tool. I checked a lot of information and asked N people. , finally the hard work paid off. I finally figured it out. I wrote it out for everyone to discuss. Open the input method on a blank form. In C#, the input method cannot be opened in a blank window no matter what. I set this. ImeMode= ImeMode.NoControl also cannot open the typing window of the input method. I went to the Microsoft Development Forum and asked some questions. Thanks to moderator Zhou Xuefeng and Riquel_Dong moderator for their advice. I used the API function: ImmAssociateContext(IntPtr hWnd, IntPtr hIMC) ;Finally the input method is called up. Its function is to associate the input with the specified window. The code is as follows: f (m.Msg == WM_IME_SETCO
1. C# To realize Chinese input on a blank form, you can realize a PS-like text tool
##Introduction: This article Mainly introduces the implementation of Chinese input on a blank form under C#, which can realize PS-like text tools
[Related Q&A recommendations]:
The above is the detailed content of Summary of points to note about PS text tools. For more information, please follow other related articles on the PHP Chinese website!