I use this code, but it won't Restore the Window, why ?
Code:winHwnd = FindWindow(vbNullString, %THE CAPTION HERE%) If winHwnd <> 0 Then RetVal = PostMessage(winHwnd, SC_RESTORE, 0&, 0&) If RetVal = 0 Then MsgBox "Error posting message." End If Else MessageBox End If




Reply With Quote