I was wondering how I could take screenshots using PrintWindow() on Windows XP and get the transparency information, so I don't get an ugly black border around all my individual window screenshots. This seems to be possible from looking at other programs (e.g. TopDesk, http://www.otakusoftware.com/topdesk/
). I played with calling GetLayeredWindowAttributes
to find out transparency information, but it only succeeds for app that initially set the transparency information in the first place.