Hi All,

Question: I think I'm grabbing the wrong window.  So which one should
I be using/grabbing?

Background: I'm using "mozembed" [ https://wiki.mozilla.org/Embedding/NewApi
] in an attempt to simplify my life.  I have it working.  I'm trying
to grab the contents of the rendered page and save it to a BMP file.
This is done under win32 + MS VS 2005.

Problem: I seem to be grabbing the wrong thing.  I am only grabbing
the window (ie: the size of the window on the screen) and not the
whole contents (ie everything including the bits that are off-screen
due to the webpage being bigger than the window size).

Current Code: This is what I am doing to get a handle on the pixels.
HDC hdc = GetDC(hMainWnd);
GetDIBits(hdc, blah blah blah);

Anyone have any ideas?  Thanks!


Albert

_______________________________________________
dev-embedding mailing list
dev-embedding@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to