DECLARE INTEGER SendMessage IN user32; INTEGER hWnd,; INTEGER Msg,; INTEGER wParam,; INTEGER lParamAt this point I'm not sure what message (or messages) to send: WM_PAINT, WM_SHOWWINDOW or some others.
hTrayWindow = FindWindow("Shell_TrayWnd", Null)On this page http://www.news2news.com/vfp/?example=336 take a look at a picture in comments, a fragment of Visual Studion Spy++ screen. It gives you an idea about the windows hierarchy inside the Tray Window.