Unfortunately, the only way to play in a window is under
Linux.
You can alt-tab out of the game, or use the windows key to minimize Divinity to the task bar to use a different program. Some people have found this to be quite slow, however, or experienced sound or stability problems doing this.