MFC: How to create a CPaintDC, render/paint to it, and then save the rendered picture to both a BMP and a DIB
Posted on 2015-01-02
Hello... I'm having an *awful* time finding code to do this thing that may not be straightforward, but that I *know* can be done. I'm also getting flashbacks to MFC, it just seems like everything is such a struggle.
Can some MFC and/or GDI expert cut-and-paste (please no google searches though, I've done plenty of that) some working code to do this? I've been cobbling code together all day and don't seem to be able to get there. I would DEARLY appreciate it.
Thanks very much.