Available in the LEADTOOLS Imaging toolkit. |
BitmapToClient example for C++ 4.0 and later
CString szOut;
//Test a bitmap location for its screen location
m_LEAD1.BitmapToClient(50.0f, 50.0f);
szOut.Format("ClientX = %d\nClientY = %d",
(long)m_LEAD1.GetConvertX(),
(long)m_LEAD1.GetConvertY());
AfxMessageBox(szOut);