Flashing in taskbar?

BlitzPlus Forums/BlitzPlus Programming/Flashing in taskbar?

Regular K(Posted 2005) [#1]
Is it possible to make the window in the task bar flash? Like in MSN when someone messages you, or, well, in any program, that something major happens and its not the foreground window?

It must be using userlibs, I just cant find any on it...


simi(Posted 2005) [#2]
Yes, with WinAPI:
.lib "user32.dll"
FlashWindow(hwnd,state)


You can flash the window with FlashWindow(QueryObject(window,1),1) and unflash with state=0....

But when you click on the Taskbar-Button the Button is automaticly unflashed....


Regular K(Posted 2005) [#3]
Thank you


Gladclef - Ben B(Posted 2008) [#4]
Maybe I'm just a fluffbrain, but I couldn't get it to work for me... Does someone have a sample code?