摘要 |
The present invention discloses a method for displaying a window. The method comprises hanging an application programming interface (API) hook onto an API for opening a window, wherein the API hook is adapted to designate a display position of the window as the input desktop; and running the API hanged with the API hook to open the window. The present invention can ensure the window to be open on the correct desktop. Especially, it can overcome the problem that, in the circumstance of the OS of Windows Vista Service Pack1, all the windows will be opened on the default desktop when a virtual desktop is adopted.
|