Is there a tool that can extract controls from screenshots (dialogues, windows,...) automatically in something like layers in Photoshop? In my memory there was a tool for Mac doing this. But I couldn't find it anymore. Better would be such a tool for windows, of course ;-)
Layers does what you ask on the Mac.
Takes a screenshot, but creates layers for all elements - windows, shadows, cursors, etc.