本文介绍了模拟wm_char消息,发送多字节的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一些亚洲单词有多字节,我试图模拟wm_char消息发送这些单词,但是失败了,即使使用二进制字节。



有没有其他方法可以解决这个问题?



我尝试过:



是这样的:



some asian words have multi-bytes , I'm trying to simulate the wm_char message to send these words , but failed , even using the binary bytes.

Is there any other method to deal with this ?

What I have tried:

like this :

PostMessage(ctrl_info.ctrl_hwnd , WM_CHAR ,0xbac3,0)





这是将wm_char模拟发送到记事本的编辑控件的片段代码,我保存了记事本,找出消息0xbac3已被分隔为0xc300和0xba00



this is a frament code of sending wm_char simulation to notepad's Edit control, I saved the notepad ,find out the message 0xbac3 has been seperated as 0xc300 and 0xba00

推荐答案



这篇关于模拟wm_char消息,发送多字节的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 22:32