网站首页  计算机词典

请输入您要查询的字词:

 

字词 translatemdisysaccel
释义 TranslateMDISysAccel
语法:
BOOL TranslateMDISysAccel( HWND hWndClient,
LPMSG lpMsg
);
TranslateMDISysAccel功能
函数过程的TranslateMDISysAccel为多文档界面窗口的菜单命令加速器按键(MDI)子窗口的MDI与指定的客户端窗口有关。函数转换WM_KEYUP和WM_KEYDOWN消息WM_SYSCOMMAND的消息并将它们发送给适当的MDI子窗口。
参数
hWndClient
[in]句柄到MDI客户窗口。
lpMsg
[in]指向通过GetMessage或PeekMessage函数检索邮件。这个信息必须是味精的结构和包含来自应用程序的消息队列中的邮件信息。
返回值
如果该消息被翻译系统命令,返回值为非零。
如果消息是没有把一个系统命令翻译,返回值是零。
例如
有关示例,请参见编写的主消息循环。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
最低操作系统Windows 95,Windows NT 3.1
参见
多文档接口概述,GetMessage,PeekMessage,TranslateAccelerator,味精,WM_KEYDOWN,WM_KEYUP,WM_SYSCOMMAND的
==英文原文==TranslateMDISysAccel Function
The TranslateMDISysAccel function processes accelerator keystrokes for window menu commands of the multiple-document interface (MDI) child windows associated with the specified MDI client window. The function translates WM_KEYUP and WM_KEYDOWN messages to WM_SYSCOMMAND messages and sends them to the appropriate MDI child windows.
Syntax
BOOL TranslateMDISysAccel( HWND hWndClient,
LPMSG lpMsg
);
Parameters
hWndClient
[in] Handle to the MDI client window.
lpMsg
[in] Pointer to a message retrieved by using the GetMessage or PeekMessage function. The message must be an MSG structure and contain message information from the application's message queue.
Return Value
If the message is translated into a system command, the return value is nonzero.
If the message is not translated into a system command, the return value is zero.
Example
For an example, see Writing the Main Message Loop .
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 95, Windows NT 3.1
See Also
Multiple Document Interface Overview , GetMessage , PeekMessage , TranslateAccelerator , MSG , WM_KEYDOWN , WM_KEYUP , WM_SYSCOMMAND
==原始网址==http://msdn.microsoft.com/en-us/library/ms644926(VS.85).aspx\n
随便看

 

计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。

 

Copyright © 2021-2025 foosec.com All Rights Reserved
更新时间:2026/10/24 1:33:41