1. Field of the Invention
The present invention relates to an information processing apparatus and a method of controlling the same and, more particularly, to a technique of controlling display of each of a plurality of windows on a display screen.
2. Description of the Related Art
Operating systems (OSs) (e.g., Windows®) for implementing multiwindow systems on computers are now widespread. A multiwindow system can display a plurality of windows on one display screen. Examine a case in which an object (e.g., file) displayed in a first window is moved or copied, by drag-and-drop, to an application which manages a second window. In this case, if the second window is hidden behind the first window, it cannot accept drop of the object. To prevent this, the user needs to adjust the position of each window before drag-and-drop to display both the drag-and-drop target object in the first window and at least part of the drop area in the second window without overlap.
Additionally, to reduce the operation load of the user in drag-and-drop, it has been proposed to simply turn off or on the display of each window or to display a window directly as the topmost window when starting the drag operation of an icon displayed on the screen. See, for example, Japanese Patent Laid-Open Nos. 8-185301 and 2003-108281.
In the prior art, however, a window desired by a user is not necessarily displayed in a convenient state for operations as a result. In fact, the window is often displayed in an inconvenient state for the user.