magick_to_HBITMAP.cpp
Here is the basic usage of the function:
// Get a pointer to the image control and resize it to 200 x 200
CWnd* pImageControl = m_MFCImage_Control.GetWindow(0);
pImageControl->MoveWindow(10,10,200,200,1);
// Read in the Magick::Image file and resize it to the same size as the MFCImage
m_Image.read("image.jpg");
m_Image.resize(Magick::Geometry(200,200));
// Convert it and set it
m_Bitmap = CreateBitmapFromMagick(m_MFCImage_Control.GetDC()->m_hDC, m_Image);
m_MFCImage_Control.SetBitmap(m_Bitmap);
// Don't forget to delete the HBITMAP when you're done using DeleteObject(m_Bitmap);