网站首页  词典首页

请输入您要查询的函数:

 

术语 switchtothiswindow
释义 SwitchToThisWindow
语法:
VOID SwitchToThisWindow( HWND hWnd,
BOOL fAltTab
);
SwitchToThisWindow功能
该SwitchToThisWindow函数被调用的焦点切换到指定的窗口,把它推到前台。
参数
hWnd
[in]的窗口句柄正在切换到。
fAltTab
[in]阿此参数为TRUE表示窗口被转用的Alt / Ctl + Tab键顺序。此参数应当否则返回FALSE。
返回值
毫无。
备注
这个函数通常称为维护窗口的Z -顺序。
虽然您可以通过使用LoadLibrary和GetProcAddress在Microsoft Windows版本相结合,在Windows XP之前这个函数,该函数不使用标准访问包含文件和库之间的联系。头文件包含在Windows XP服务包1(SP1)和Windows Server 2003的文件,这个功能,使其容易使用适当的包含文件和库之间的联系。但是,此功能已经废弃,而不是一般使用。我们建议您不要使用新的程序,因为这可能会更改或在Windows的后续版本中不可用。
功能信息
最低DLL版本 user32.dll
在Winuser.h中HeaderDeclared,头文件:winuser.h
import libraryUser32.lib
2000年最低经营systemsWindows
参见
视窗概述,IsWindowVisible,ShowWindow
==英文原文==SwitchToThisWindow Function
The SwitchToThisWindow function is called to switch focus to a specified window and bring it to the foreground.
Syntax
VOID SwitchToThisWindow( HWND hWnd,
BOOL fAltTab
);
Parameters
hWnd
[in] Handle to the window being switched to.
fAltTab
[in] A TRUE for this parameter indicates that the window is being switched to using the Alt/Ctl+Tab key sequence. This parameter should be FALSE otherwise.
Return Value
None.
Remarks
This function is typically called to maintain window z-ordering.
Although you can access this function by using LoadLibrary and GetProcAddress combined in Microsoft Windows versions prior to Windows XP, the function is not accessible using the standard Include file and library linkage. The header files included in Windows XP Service Pack 1 (SP1) and Windows Server 2003 document this function and make it accessible using the appropriate Include file and library linkage. However, this function is deprecated and not intended for general use. It is recommended that you do not use it in new programs because it might be altered or unavailable in subsequent versions of Windows.
Function Information
Minimum DLL Versionuser32.dll
HeaderDeclared in Winuser.h, include Windows.h
Import libraryUser32.lib
Minimum operating systemsWindows 2000
See Also
Windows Overview , IsWindowVisible , ShowWindow
==原始网址==http://msdn.microsoft.com/en-us/library/ms633553(VS.85).aspx\n
随便看

 

windows api函数参考手册包含2258条windows api函数文档,详细介绍nodejs、java、rust调用windows api的方法技巧,是学习windows api编程的入门中文文档。

 

Copyright © 2004-2023 Winrtm.com All Rights Reserved
京ICP备2021023879号-40 更新时间:2024/10/6 13:16:21