Link to home
Start Free TrialLog in
Avatar of Andrian
Andrian

asked on

How to catch the entire screen with MFC?

I want to catch the entire screen like "print screen" but by code.
need help!
Avatar of Vinayak Kumbar
Vinayak Kumbar

Hi,

Just interested.....

VinExpert
May be this is some kind of help:

MDSN ID: Q59380
How to Do a Print Screen Within a Program

 
 
ASKER CERTIFIED SOLUTION
Avatar of Zoppo
Zoppo
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
excuse me for this //Detach();, just an artefact from testing    :)
Avatar of Andrian

ASKER

why doesn't it work (it just show the zip icon but not the entire screen)
I'm not sure ... given code works on my system (WinNT4) ... perhaps try it without the clipboard stuff, just bitblt the memory dc's content to a window...
Avatar of Andrian

ASKER

Thanks!it works without the clipboard staff.