网站首页  词典首页

请输入您要查询的函数:

 

术语 flashwindow
释义 FlashWindow
语法:
C++
BOOL WINAPI FlashWindow(
__in HWND hWnd,
__in BOOL bInvert
);
FlashWindow功能
指定窗口闪烁一次。它不改变窗口的活动状态。
闪烁的窗口中指定的次数,使用FlashWindowEx功能。
参数
hWnd [in]
阿窗口句柄将闪烁。窗口可以是公开或最小化。
bInvert [in]
如果此参数为TRUE,窗口闪过从一个国家到另一个。如果是FALSE,则窗口恢复到原来的状态(激活或停止)。
当应用程序被最小化,此参数为TRUE,任务栏窗口按钮闪烁主动/无效。如果它是假,任务栏窗口按钮闪烁活跃,这意味着它不会改变颜色。 It flashes, as if it were being redrawn, but it does not provide the visual invert clue to the user.
返回值
返回值指定前向FlashWindow函数调用窗口的状态。如果窗口标题为活性制定之前调用,返回非零值。否则,返回值是零。
备注
闪动的窗口意味着改变其标题栏的外观,犹如从窗口不主动,不主动的地位,反之亦然变化。 (一个非活动标题栏更改为积极的标题栏,标题栏的积极变化,非活动标题栏。)
通常,一个窗口闪过通知用户的窗口,需要注意,但它目前没有键盘焦点。
闪烁的FlashWindow功能的窗口只有一次,反复闪烁,应用程序应建立一个系统计时器。
要求:
最低支持:client-Windows 2000专业版
最低支持server-Windows 2000服务器
HeaderWinuser.h(头文件:winuser.h)
LibraryUser32.lib
DLLUser32.dll
参见
错误处理函数
通知用户
如果有任何问题和意见,请发送给微软(wsddocfb@microsoft.com)
生成日期:2009年7月30日
==英文原文==FlashWindow Function
Flashes the specified window one time. It does not change the active state of the window.
To flash the window a specified number of times, use the FlashWindowEx function.
Syntax
C++
BOOL WINAPI FlashWindow(
__in HWND hWnd,
__in BOOL bInvert
);
Parameters
hWnd [in]
A handle to the window to be flashed. The window can be either open or minimized.
bInvert [in]
If this parameter is TRUE, the window is flashed from one state to the other. If it is FALSE, the window is returned to its original state (either active or inactive).
When an application is minimized and this parameter is TRUE, the taskbar window button flashes active/inactive. If it is FALSE, the taskbar window button flashes inactive, meaning that it does not change colors. It flashes, as if it were being redrawn, but it does not provide the visual invert clue to the user.
Return Value
The return value specifies the window's state before the call to the FlashWindow function. If the window caption was drawn as active before the call, the return value is nonzero. Otherwise, the return value is zero.
Remarks
Flashing a window means changing the appearance of its caption bar as if the window were changing from inactive to active status, or vice versa. (An inactive caption bar changes to an active caption bar; an active caption bar changes to an inactive caption bar.)
Typically, a window is flashed to inform the user that the window requires attention but that it does not currently have the keyboard focus.
The FlashWindow function flashes the window only once; for repeated flashing, the application should create a system timer.
Requirements
Minimum supported clientWindows 2000 Professional
Minimum supported serverWindows 2000 Server
HeaderWinuser.h (include Windows.h)
LibraryUser32.lib
DLLUser32.dll
See Also
Error Handling Functions
Notifying the User
Send comments about this topic to Microsoft
Build date: 7/30/2009
==原始网址==http://msdn.microsoft.com/en-us/library/ms679346(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:21:54