ShowHTMLMapperDlg Example for C++ 5.0 and later
void CDialogs::OnHtmlMapper()
{
m_pRasterWebDlg->PutUIFlags (0);
m_pRasterWebDlg->PutBitmap (m_RasterView.GetRaster().GetBitmap ());
m_pRasterWebDlg->PutURLMaxLength(35);
m_pRasterWebDlg->PutALTMaxLength(35);
m_pRasterWebDlg->PutTargetMaxLength(10);
m_pRasterWebDlg->PutRolloverMaxLength(MAX_PATH);
m_pRasterWebDlg->PutURLEntryCount(5);
m_pRasterWebDlg->PutALTEntryCount(5);
m_pRasterWebDlg->PutTargetEntryCount(5);
m_pRasterWebDlg->PutRolloverEntryCount(5);
m_pRasterWebDlg->PutURLValidEntryCount(2);
m_pRasterWebDlg->PutALTValidEntryCount(1);
m_pRasterWebDlg->PutTargetValidEntryCount(1);
m_pRasterWebDlg->PutRolloverValidEntryCount(3);
m_pRasterWebDlg->PutURL(0,"http://www.medicorimaging.com/");
m_pRasterWebDlg->PutURL(1,"http://www.leadtools.com/");
m_pRasterWebDlg->PutALT(0,"LEADTOOLS Online!");
m_pRasterWebDlg->PutTarget(0,"_parent");
m_pRasterWebDlg->PutRollover(0,"e:\\images\\image3.jpg");
m_pRasterWebDlg->PutRollover(1,"e:\\images\\image2.jpg");
m_pRasterWebDlg->PutRollover(2,"e:\\images\\image1.jpg");
m_pRasterWebDlg->ShowHTMLMapperDlg((long)this->m_hWnd);
}