I have an MFC application that uses FlashWindowEx to notify the user of an event by minimizing a window on the taskbar and calling FlashWindowEx. This works fine except if you are using the Windows Classic theme on Windows XP. If you switch back to one of the built-in XP themes, it works fine. When using the classic theme, the taskbar button flashes one time, and then appears 'pushed', like it is the active window even though it is not. Also, if you have the taskbar hidden, it does not pop up after calling FlashWindowEx like it does when using the XP theme, Win98 or 2000.
nishant - 22 Jul 2004 13:11 GMT
> *I have an MFC application that uses FlashWindowEx to notify the use
> of an event by minimizing a window on the taskbar and callin
[quoted text clipped - 6 lines]
> lling FlashWindowEx like it does when using the XP theme, Win98 o
> 2000. *
I tried using FlashWindowEx inside my application but showed error tha
Function not defined...I am using VS 6.0 in Win 2K professional...Wh
is this??
-
nishan
William DePalo [MVP VC++] - 22 Jul 2004 17:40 GMT
> I tried using FlashWindowEx inside my application but showed error that
> Function not defined...I am using VS 6.0 in Win 2K professional...Why
> is this???
The function did not get added to the Win32 API until '98. Do you need to
define in your source or in the IDE
#define WINVER 0x0500
Of course, if you do that it is for you to insure that you don't try to run
your application on '95 or NT v4.
Regards,
Will