I have a 2D array of grayscale values (0-255). I would like to use them to create a CBitmap to display in a dialog.
How do I use the CBitmap initialization functions to create a grayscale picture with one byte per pixel? I am confused in particular by the num bytes and color plane stuff.
How do I get a HBITMAP to set on the CStatic on a dialog box