um how can i close a window by it's hwnd.. the only way i no is 2 use:

SendMessage TempWinHwnd, WM_CLOSE....

but this won't close explorer and folder windows..

Thanks in advance
Kris