Re: Save bmp from CDC

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Look in www.codeproject.com where there should be some good examples.
joe

On Sat, 5 Nov 2005 20:18:21 +0100, "Tommi Reiter" <treiter@xxxxxxxx> wrote:

>Hi,
>I want to save a memory device context CDC to a bmp file:
>Were can i find a good manual or sample code?
>
>Thanks!
>
>Tommi
>
>
>//short essay:
>CClientDC dc(this);
>CDC dc_mem;
>dc_mem.CreateCompatibleDC(&dc);
>//the dc_mem is now manipulated and this schould be stored to file.bmp
>
>
>
>
Joseph M. Newcomer [MVP]
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.