Link to home
Start Free TrialLog in
Avatar of RonMexico
RonMexico

asked on

MFC: How to create a CPaintDC, render/paint to it, and then save the rendered picture to both a BMP and a DIB

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.
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RonMexico
RonMexico

ASKER

That actually wasn't applicable per se, but it is quite useful sample software for general MFC imaging.