07-09-2009 08:34 AM
Hi
I just want to know how to capture a portion of monitor screen pragmatically without pressing the printscreen button. Is there any way to capture the screen without simulating the keyboard keys. Is possible can you tell me which dll does this in windows.
Thanks & Regards
Samuel J
07-09-2009 08:36 AM
07-09-2009 08:39 AM
Which function in user32.dll?
If possible please tell me the parameters and arguments of that function..
Regards
Sam
07-09-2009 08:48 AM
07-09-2009 08:51 AM
07-09-2009 08:51 AM
I'm having keyboard event simulating vi which does that. Is there any other way to capture directly....
07-09-2009 08:54 AM
samuel James wrote:
Is there any other way to capture directly....
What do you mean by this? Now, it is starting to confuse a bit...
07-09-2009 08:58 AM
07-09-2009 09:07 AM
Hi samuel Ja...,
yes it's possible with some GDI functions.
- createcompatibleBitmap
- createCompatibleDC
- selectObject
- BitBlt
- GetDiBits
- GetBitmapBits
- DeleteDC
- DeleteObject
and min two functions from user32.dll
- GetDC and
- ReleaseDC
Mike
07-09-2009 09:22 AM
If possible could you please send me an example if you have...
Regards
Samuel James