That's interesting.
I also tried FlashWindow API as well to see if I could just flash the
taskbar instead, but still because on startup there is no item for the
window showing up in the taskbar this doesn't work. When calling
SetForegroundWindow the window will pop to the front when the window is done
loading and it will show up on the taskbar. It's unfortunate that we have
to do it this way, but it's an application that runs within our office
enviroment, so I've made a decision that it's fine.
I would love to find out why it doesn't show up in the taskbar. Could it be
partly due to the 3rd party infragistics controls we're using, or that it's
MDI, or that it's being launched as a no ntouch deployment app frmo IE? I
have no idea. Uunfortunatly in IT, you never have enough time to find out
why these bugs are they. Either fix it or find a workaround... and move
on... unfortunatly..
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:uS**************@TK2MSFTNGP09.phx.gbl...
"D Witherspoon" <dw**********@noway.org> schrieb: XP Pro SP2
Mhm... Normally your application's taskbar button should flash when
calling 'SetForegroundWindow' when the application is not the active
application.
MSDN on 'SetForegroundWindow':
| With this change, an application cannot force a window to
| the foreground while the user is working with another window.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>