尝试使用Qt编写一个应用程序,该应用程序将在屏幕上放置水印。 使用下面的标志可以使我的窗口显示在所有内容之上,除非用户在Windows照片中使用全屏模式
self.setWindowFlags(
Qt.WindowTransparentForInput | Qt.WindowStaysOnTopHint |
Qt.FramelessWindowHint | Qt.Tool | Qt.MaximizeUsingFullscreenGeometryHint)
在上述情况下,是否有可能强制车窗保持在顶部?i、 e.使用user32而不重写不同框架的所有内容
在windows上,您可以使用
gdi32
和user32
在桌面上绘制,如果您只需要水印,您可以尝试这种方法相关问题 更多 >
编程相关推荐