Fullscreen game in a window?

Is it possible to run games designed to be ran in fullscreen mode in a window? (assuming that the game does not contain such an option) Games like Starcraft can only be ran in fullscreen, but is there a way to run it in a window?