I am trying to find a way around the new behaviour of

SetForegroundWindow in Windows 98 and NT 5.


Now it performs a FlashWindowEx call instead of allowing

an application to force its window into the foreground.


Anyone have a workaround?


Undocumented flag?


FYI: SystemParameterInfo( SPI_SETFOREGROUNDFLASHCOUNT, 0 )

causes the window to flash forever.


Thanks in advance,

Adrian