Hi Christian, thanks for the feedback.
I tried it but it does not seem to work although I am not sure that I am getting the right window handle to the task notification area (normally bottom right position, at the end of the task bar). I am using FindWindow() on "Shell_TrayWnd" and it is returning a window handle of 65658. I dont know if that is the correct handle though.
Thanks
>Hello,
>
>if a mousemove removes the invalid icons you may try to send a WM_MOUSEMOVE message to the systray
>
>#DEFINE WM_MOUSEMOVE 0x0200
>
>SendMessage(theHwnd,WM_MOUSEMOVE,0,0)
>
>or with mouse cursor coordinates :
>x = 1
>y = 1
>nCoord = BITOR(x,BITLSHIFT(y,16))
>SendMessage(theHwnd,WM_MOUSEMOVE,0,nCoord)
>
>Regards
>Christian
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.