An attempt was made to use a window which has not been activated. For more information, see ACTIVATE WINDOW.