Issue with EnumWindows

后端 未结 2 952
天涯浪人
天涯浪人 2020-12-18 17:08

When enumerating windows using EnumWindows, I get hundreds of handles instead of one per open window on my desktop.

First of all, i am curious if this is the correc

2条回答
  •  隐瞒了意图╮
    2020-12-18 17:49

    You can filter within the enum callback by checking IsWindowVisible() & ignoring invisible system/message sink windows.

提交回复
热议问题