Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
DxWnd worked for me and I was able to play in a window, but I had to undo some of the changes I made to the Application shortcut's Compatibility tab settings as described in user2974's answer. (I still have the "run in compatibility mode for xp sp 3" box checked and "disable desktop composition" but otherwise turned it off.) Also DxWnd's generic option was the one that worked for me, not the one that had Starcraft in the option name.