Jump to content

Capturing IE Screen


Recommended Posts

I need to capture some screen in IE whose coordinates are first derived by DOM's offsetTop/offsetLeft. That means I starts with coordinates relative to the content/viewable area of IE which is the "Internet Explorer_Server1" control and need to convert them to whatever _screen_capture...() expects.

I've done some tests and found that _ScreenCapture_CaptureWnd() is expecting a coordinate relative to the active window. But I have trouble converting the coordinates to this final form.

By adding ControlGetPos()'s return value, I am able to convert my first coordinates to relative to the client area of IE. But what should I do to proceed to the window coordinate?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...