请输入您要查询的百科知识:

 

词条 SwitchToThisWindow
释义

函数功能

该函数将焦点切换指定的窗口,并将其带到前台。

函数原型: VOID SwitchToThisWindow(HWND hWnd, BOOL fAltTab)

参数

hWnd [in]:要切换到的窗口的句柄。

fAltTab [in]:TRUE 表示使用 Alt/Ctl+Tab 键的先后次序来切换窗口,否则设为 FALSE。

返回值

无。

备注

This function is typically called to maintain window z-ordering.

Although you can access this function by using LoadLibrary and GetProcAddress combined in 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.

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2024/12/23 23:03:50