gpt4 book ai didi

c++ - 我如何知道 HWND 是否是桌面本身?

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

我使用 GetForegroundWindow 获取前景窗口句柄,但如果没有窗口,则它会将 HWND 返回到桌面。我如何知道 HWND 是否为桌面?

最佳答案

将其与调用 GetDesktopWindow 的结果进行比较().

关于c++ - 我如何知道 HWND 是否是桌面本身?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2111480/

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