added showwindow api.