gpt4 book ai didi

c# - HWND 可见吗?

转载 作者:可可西里 更新时间:2023-11-01 13:54:11 25 4
gpt4 key购买 nike

那些该死的用户和他们最小化的窗口。

在 C# 中,如果我有一个窗口的 HWND,有没有办法判断它是否在桌面上可见?

最佳答案

GetWindowPlacement函数返回 WINDOWPLACEMENT具有字段 showCmd 的结构:

Specifies the current show state of the window.

这个细节读起来好像你会设置窗口状态,但我怀疑这是因为它们是从其他地方复制的并且没有更新。

关于c# - HWND 可见吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1738800/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com