Windows SPY++
Author
Discussion

julian64

Original Poster:

14,325 posts

285 months

Wednesday 5th September 2018
quotequote all
anyone know of a product similar to the windows spy that can search based on a caption?

Currently I'm having to drill down the hierarchy to find the window I'm looking for. It would be far simpler for the winspy to tell me which window handles have a particular caption I'm interested in.

Mr Happy

5,910 posts

251 months

Wednesday 5th September 2018
quotequote all
Are you wanting only window captions, or are you wanting to search all objects of all windows for a caption that matches the search term?

Easiest way to do this for window captions only is to enumerate the windows yourself, there's a couple of bits of c# code that would be useful here: https://stackoverflow.com/questions/7268302/get-th...