I want to grab a screenshot of a form and have used this code to grab the desktop and save it to a file.
bool captureHandle(System::IntPtr hwnd) //handle o