Hi Tanya,
While I understand that this is a complex task (even SnagIt not always captures the scrolling window entirely;). For example, I failed to capture the macro window in ABS to get a screenshot to illustrate the macro logic:) ), I think that the only control(s) involved is/are scrollbars.
To my understanding, the code must:
-- Take a screenshot of the visible window area (window frame);
-- Scroll down (or to the right) for the size of the window frame;
-- Take another screenshot and append it to the previous one;
-- Repeat until scrollbars reach their end position (the size of the captured frame must be adjusted for the last screenshot(s).
Drew Wells posted a sample code for web pages some time ago that may be used as a reference for my description. I tried to port it to work with native Windows application but did not succeed with scrolling window content using toolbars.
http://blog.smartbear.com/software-quality/bid/170340/http://blog.smartbear.com/software-quality/bid/170341/Just my opinion which may be incorrect. :)