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.
BOOL TranslateMDISysAccel(
HWND hWndClient, // handle to MDI client window
LPMSG lpMsg // address of structure with message data
);
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.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in winuser.h.
Import Library: Use user32.lib.
Multiple Document Interface Overview, Multiple Document Interface Functions, GetMessage, PeekMessage, TranslateAccelerator, MSG, WM_KEYDOWN, WM_KEYUP, WM_SYSCOMMAND