DirectX9 Screenshot help

sharratt2003
02-04-2005, 12:38 PM
I have a VB.NET form and have coded it to grab a screenshot in the following way:

1. Create Device for Currunt Form which has Focus
2. Create Surface from CreateOffscreenPlainSurface
3. Get Device Front Buffer
4. Save the surface to file

Any ideas on how i can get it to work without having to have focus off the current form and take the screenshot regardless of what application i am in would be appreciated!!!

Its driving me insane!

Thanks in advance :D

ardman
11-09-2005, 01:21 AM
You can just use Alt+PrintScreen in order to take a screenshot. It puts it into the clipboard and paste it in paint :D

Agwan
06-11-2006, 09:04 PM
Get the back buffer

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum