I told you I was probably wrong :)
I just checked the MS docs, and getDC takes a window handle as an argument. Pass 0 to get the DC for the whole screen.
And don't forget to call ReleaseDC, or bad things can happen...
We now exit MS win32 api hell, and return you to your regularly scheduled perl programming :)
--
Mike
In reply to Re: Re: Re: Re: How to capture screen under Win32?
by RMGir
in thread How to capture screen under Win32?
by flofloh
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |