b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

translatemessage_windows createfile_dispatchmessage(2)

电脑杂谈  发布时间:2017-05-28 09:01:08  来源:网络整理

If the message is nottranslated (that is, a character message is not posted to the thread's messagequeue), the return value is zero.

Remarks

The TranslateMessage functiondoes not modify the message pointed to by thelpMsg parameter.

WM_KEYDOWN and WM_KEYUPcombinations produce a WM_CHAR or WM_DEADCHAR message.WM_SYSKEYDOWN andWM_SYSKEYUP combinations produce a WM_SYSCHAR or WM_SYSDEADCHAR message.

TranslateMessage producesWM_CHARmessages only for keys that are mapped to ASCII characters by the keyboarddriver.

If applications processvirtual-key messages for some other purpose, they should not callTranslateMessage. For instance,an application should not callTranslateMessageif the TranslateAccelerator function returns a nonzero value. Note that theapplication is responsible for retrieving and dispatching input messages to thedialog box. Most applications use the main message loop for this. However, topermit the user to move to and to select controls by using the keyboard, theapplication must call IsDialogMessage. For more information, see Dialog BoxKeyboard Intece.

Windows 95/98/Me:TranslateMessage is supportedby the Microsoft Layer for Unicode (MSLU). To use this, you must add certainfiles to your application, as outlined in Microsoft Layer for Unicode onWindows 95/98/Me Systems.


本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/ruanjian/article-49686-2.html

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    热点图片
    拼命载入中...