网站首页  词典首页

请输入您要查询的函数:

 

术语 getforegroundwindow
释义 GetForegroundWindow
语法:
HWND GetForegroundWindow(VOID);
Return Value
The return value is a handle to the foreground window. The foreground window can be NULL in certain circumstances, such as when a window is losing activation.
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
Windows Overview , SetForegroundWindow
GetForegroundWindow函数
该GetForegroundWindow函数返回的句柄前台窗口(窗口与用户目前正在)。该系统分配一个优先稍高的线程创建前台窗口而不是针对其他线程。
==英文原文==GetForegroundWindow Function
The GetForegroundWindow function returns a handle to the foreground window (the window with which the user is currently working). The system assigns a slightly higher priority to the thread that creates the foreground window than it does to other threads.
Syntax
HWND GetForegroundWindow(VOID);
Return Value
The return value is a handle to the foreground window. The foreground window can be NULL in certain circumstances, such as when a window is losing activation.
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
Windows Overview , SetForegroundWindow
==原始网址==http://msdn.microsoft.com/en-us/library/ms633505(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 11:23:44