Hi Leith Ross,
Attached is the Excel that I'm working on.. Main intention of the Userform's in this workbook is to capture the screen shot of the active window (which I'm not able to do)!
Let me explain you the steps that I wanted to do...
a. Open the workbook, Userform FrameOne pops up and ask for a Start. Once the user clicks Start, FrameOne will be hidden and FrameTwo will be shown.
b. FrameTwo has two button - Capture and Stop. FrameTwo is designed in such a way that it sits on top of all the windows (as it is/should a Modeless frame).
c. Lets assume that I'm working some multiple applications, not sure which one are those - May be Office application or Non Office applications. And I wanted to capture the ALT Print Screen of a particular window/app. As my userform is not top of it, I'll click the 'Capture' button which should capture the screenshot after giving the focus to other window that I'm working on.
Here's the problem! I'm not able to capture screen shot of the active window. Below is my code and as in the attached workbook.
Kindly help me out as you said you can give the focus to window into both A Order and Z order.
- Captain Cool