January 11th, 2014, 07:24 PM
Windows Forms: obtaining window handle. HWND isn't recognized
Hi Guys, I am developing an app that shows a pixelated picture in a window. I am trying to capture the image, which is composed of a number of tiles processed from a mother image, but I am having difficulty since I can't reference the image on the screen. I have placed a rectangle around the image and my understanding is that I have get the window handle for the rectangle in order to save the Image as a jpg file. In the literature there is something about a Device Context and a window handle but my compiler throws out HWND and I don't really understand the device context. I am using Windows Forms, not native code. If anyone can help it would be appreciated
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.