| 字词 | getactivewindow |
| 释义 | GetActiveWindow 语法: HWND GetActiveWindow(VOID); Return Value The return value is the handle to the active window attached to the calling thread's message queue. Otherwise, the return value is NULL. Remarks To get the handle to the foreground window, you can use GetForegroundWindow . Windows 98/Me and Windows NT 4.0 SP3 and later: To get the window handle to the active window in the message queue for another thread, use GetGUIThreadInfo . 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 Keyboard Input , GetForegroundWindow , GetGUIThreadInfo , SetActiveWindow GetActiveWindow函数 该GetActiveWindow函数检索窗口句柄活动窗口连接到调用线程的消息队列。 ==英文原文==GetActiveWindow Function The GetActiveWindow function retrieves the window handle to the active window attached to the calling thread's message queue. Syntax HWND GetActiveWindow(VOID); Return Value The return value is the handle to the active window attached to the calling thread's message queue. Otherwise, the return value is NULL. Remarks To get the handle to the foreground window, you can use GetForegroundWindow . Windows 98/Me and Windows NT 4.0 SP3 and later: To get the window handle to the active window in the message queue for another thread, use GetGUIThreadInfo . 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 Keyboard Input , GetForegroundWindow , GetGUIThreadInfo , SetActiveWindow ==原始网址==http://msdn.microsoft.com/en-us/library/ms646292(VS.85).aspx\n |
| 随便看 |
|
计算机英汉双解词典包含34412条计算机术语英汉翻译词条,基本涵盖了全部常用计算机术语的翻译及用法,是计算机学习及翻译工作的有利工具。