Find window with specific text for a Process

后端 未结 2 1215
心在旅途
心在旅途 2020-12-15 11:18

I\'m trying to find if a window with specific has been open by a Process. That process spawns multiple windows, and I need to check them all.

I have no trouble findi

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-15 11:46

    Rather than enumerating processes and finding the window, I'd enumerate the windows (using EnumWindows) and find the process (using GetGuiThreadInfo).

提交回复
热议问题