This has propably already been asked a zillion times, but I really want to know how I can make screenshot in DirectX...

I have a little program which should be able to do it, but, well, it doesn't. I think the problem is that the program doesn't get to check they keyboard or something...

How do I fix this?

Thankz