hello, i am trying to make my program in the task bar start flashing when there is a change to my program that i want to inform the user about, I hope you understand what I mean.
thanks
hello, i am trying to make my program in the task bar start flashing when there is a change to my program that i want to inform the user about, I hope you understand what I mean.
thanks
Like when using an IM, such as MSN, and someone sends you a message when the window is inactive?
Have a look at FlashWindow() and FlashWindowEx().
gg
FlashWindow() works to flash once, and it says use FlashWindowEx() if you want it to flash more than once, but VC++ 6.0 isn't recognising FlashWindowEx() or the FLASHWINFO struct.
error C2065: 'FlashWindowEx' : undeclared identifier
error C2065: 'FLASHWINFO' : undeclared identifier
Any ideas?
windows.h is included.
FlashWindowEx() is not available on all Windows versions. Which version are you using, and is you SDK up to date?
Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.
Client: Requires Windows XP, Windows 2000 Professional, Windows Me, or Windows 98
Try SetForegroundWindow(). if the window isn't active then it starts flashing in the taskbar, it works on my Win 98.
it's used like this: SetForegroundWindow(hwnd);
cal
Last edited by calpol2004; 10-10-2004 at 10:55 AM. Reason: function named wrong