Capture Screen Content or Window Content
Posted on 2007-11-14
Using the examples I found earlier on EE I am able to capture the content of the screen. How ever, the only thing I see is a copy of my VBA source code, and not the "Other" window that I need to examine.
I need some help in understand how this part of windows works.
1. Is there a 'Collection' of windows somewhere and if so, how do I reference it and get the count of windows.
2. How do I identify each of the windows in the collection to find the one I need? Is there text or something else that I can examine to determine if I found the window I need.
3. After finding the desired window, is there a map or directory that has specifics info. on the client controls (frames, textboxes, images, etc) that appear on the screen.
4. How can I get the content of these controls to variables in my VBA code. Specifically the content of an .bmp and .jpg image.