BuilderSpec
Programmer
Hi all
I am running Windows 2000 and C++ Builder...
I notice that when an app gets a message that hasn't got focus then the taskbar icon flashes blue to notify me..
digging around I found the answer sort of in FlashWindowEx,
this is the code I use :
FLASHWINFO pf;
pf.cbSize = sizeof ( FLASHWINFO );
pf.hwnd = Handle;
pf.dwFlags = FLASHW_TIMERNOFG|FLASHW_ALL;
FlashWindowEx(&pf);
Now FLASHW_ALL ( so it tells me ) will cause the title and caption to flash in the main form AND the task bar. However when I run it , only the title flashes, the task bar icon never changes.
Any one got any ideas ? is my code wrong ?
Regards
I am running Windows 2000 and C++ Builder...
I notice that when an app gets a message that hasn't got focus then the taskbar icon flashes blue to notify me..
digging around I found the answer sort of in FlashWindowEx,
this is the code I use :
FLASHWINFO pf;
pf.cbSize = sizeof ( FLASHWINFO );
pf.hwnd = Handle;
pf.dwFlags = FLASHW_TIMERNOFG|FLASHW_ALL;
FlashWindowEx(&pf);
Now FLASHW_ALL ( so it tells me ) will cause the title and caption to flash in the main form AND the task bar. However when I run it , only the title flashes, the task bar icon never changes.
Any one got any ideas ? is my code wrong ?
Regards