BitmapToClient example for C++ 5.0 and later
CString szOut;
//Test a bitmap location for its screen location
m_LEADRasterView1.SetScaleMode (3); //pixels b/c I'm passing pixels
m_LEADRasterView1.BitmapToClient (50.0f, 50.0f);
szOut.Format(TEXT("\nClientX = %d\nClientY = %d"),
(long)m_LEADRasterView1.GetConvertX (),
(long)m_LEADRasterView1.GetConvertY ());
AfxMessageBox(szOut);