use. That's easy: just do a loop and get all the handles. But, if my app crashes,
it loses the list. I don't really want to store the list as a disk file because of
speed reasons, and the fact that it might be running on read-only media,
and I don't want to store them in the PC's "Temp" folder either.
So, I thought perhaps I could use the SetProp API to mark each window with
a flag like "Monitored by MyApp" or something, so that if my app crashes, and
gets restarted, it can parse all windows again, and GetProp should let me see
which ones were previously being watched before the crash. Capiche?
But, from my testing, SetProp and GetProp can only be used by the app that
sets them. So on my app's re-launch, using GetProp fails as the new instance
of the app didn't do the SetProp on them (the crashed instance did).
How would you guys approach this problem, without using file access? Also,
I don't want to change the window captions, as they can be changed by the
apps themselves at any time.



