0

What is the fastest/easiest way to convert an array (of double) into a MFC-Bitmap to be displayed in a Picture Control?

MFH
  • 1,664
  • 3
  • 18
  • 38

1 Answers1

0

I would start with a CMemDC, where you can set every pixel by CDC::SetPixel(), and then BitBlt it over to a real CDC.

If you want a real bitmap, look here: Creating HBITMAP from memory buffer

Community
  • 1
  • 1
dwo
  • 3,576
  • 2
  • 22
  • 39