On 6 Mar 2007 01:34:18 -0800, "ClayB" <cl***@syncfusion.comwrote:
>Here is a FAQ entry showing how to get a bitmap of a form.
http://www.syncfusion.com/faq/window...earch/870.aspx
Once you have a bitmap, you can use Bitmap methods (like GetPixel) to
access pixels.
Thanks, but I think this is not what I'm looking for...
I'm not interested in capturing the form's bitmap; I'm interested in
capturing what is behind (under) the form.
Imagine the form is a kind of magnifier glass, and I would like to
process what's under the form.
An approach would be:
1. get form's rect (top, left, right, bottom)
2. hide the form
3. capture what is behind the form, i.e. capture the desktop bitmap in
the above rect region
4. show the form
5. process the bitmap and update form content
....but I was wandering if there is a more efficient way than
continuous hiding/grabbing bitmap/showing.
MrAsm