I am making a screen capturing application and everything is going fine. All I need to do is capture the active window and take a screenshot of this active window. Does an
You can use the code from this question: How can I save a screenshot directly to a file in Windows?
Just change WIN32_API.GetDesktopWindow() to the Handle property of the window you want to capture.
WIN32_API.GetDesktopWindow()