I require a function that will take a hWnd and hDC. From the hWnd, it will get the RECT of the window, and do a BitBlt onto the specified hDC.
However (and this is where it gets complicated), the BitBlt must be of the content **behind** the window specified in hWnd, not the window itself.
As an example, assume you have a form with complex data (such as a gradient or picture) in the background of the form, onto which is a CommandButton. To the function, I would pass the CommandButton's hWnd, and the hDC of a memory dc I have previously created. The function would then bitblt the section of gradient/picture behind the command button onto the memory dc supplied with the hDC parameter.
**Note:** This has to be a code only solution, I will not be accepting bids from solutions which use hidden forms or pictureboxes and the like. It should be a stand alone function (helper functions acceptable) utilizing the Windows API for pretty much all of it's functionality.
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Demonstration sample program, which must be supplied in compiled form during the bid process to demonstrate that the function works as expected.
3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).
## Platform
This function must work on all varients of Windows 95 and above. (Solutions which work with Windows 98 and above will also be accepted). You cannot use any API calls that are not supported by earlier versions of Windows.