本文介绍了PrintWindow()和透明度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 我想知道如何在Windows XP上使用PrintWindow()截屏并获取透明度信息,所以我在所有单独的窗口截屏周围都看不到难看的黑色边框.通过查看其他程序(例如TopDesk, http://www.otakusoftware.com/topdesk/).我曾玩过调用GetLayeredWindowAttributes来查找透明性信息,但只有在最初将透明性信息首先设置为透明的应用程序中才能成功.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.推荐答案 这篇关于PrintWindow()和透明度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云! 09-03 01:04