想问个使标题栏闪烁的问题
在窗口最小化的时候,winxp的窗口收到什么消息时使标题栏的底色呈桔黄色呢?
请指教!
问题点数:20、回复次数:4Top
1 楼lonely001(独行客)回复于 2005-06-02 20:41:07 得分 0
FlashWindowEx
The FlashWindowEx function flashes the specified window. It does not change the active state of the window.
BOOL FlashWindowEx(
PFLASHWINFO pfwi
);
Parameters
pfwi
[in] Pointer to the FLASHWINFO structure.
Return Values
The return value specifies the window's state before the call to the FlashWindowEx function. If the window caption was drawn as active before the call, the return value is nonzero. Otherwise, the return value is zero.
Top
2 楼lonely001(独行客)回复于 2005-06-02 20:41:32 得分 10
FlashWindow
The 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.
BOOL FlashWindow(
HWND hWnd,
BOOL bInvert
);
Parameters
hWnd
[in] 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 Values
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.
Top
3 楼kese(可可)回复于 2005-06-02 21:17:44 得分 10
typedef struct { UINT cbSize;
HWND hwnd;
DWORD dwFlags;
UINT uCount;
DWORD dwTimeout;
} FLASHWINFO, *PFLASHWINFO;
dwFlags 可使用如下标志
FLASHW_CAPTION Flash the window caption.
FLASHW_TRAY Flash the taskbar button.
FLASHW_ALL Flash both the window caption and taskbar button. This is equivalent to setting the FLASHW_CAPTION | FLASHW_TRAY flags.
FLASHW_TIMER Flash continuously, until the FLASHW_STOP flag is set.
FLASHW_STOP Stop flashing. The system restores the window to its original state.
FLASHW_TIMERNOFG Flash continuously until the window comes to the foreground.Top
4 楼ITsignal(白首太玄经)回复于 2005-06-03 12:49:03 得分 0
还是有点不对喔,我是说闪烁的同时,标题栏的颜色也在桔黄色何蓝色之间闪烁Top




