ShowMultiplyDlg Example for C++ 5.0 and later
void CDialogs::OnShowMultiplyDlg()
{
int nRet = 0;
m_pRasterImageEfxDlg->Bitmap = m_LeadRasterView.GetRaster ().GetBitmap ();
m_pRasterImageEfxDlg->UIFlags = MULTIPLY_SHOW_PREVIEW |
MULTIPLY_SHOW_TOOL_ZOOMLEVEL;
nRet = m_pRasterImageEfxDlg->ShowMultiplyDlg((long)this->m_hWnd);
if (nRet == 0 && m_pRasterImageEfxDlg->DialogStatus == DLG_OK)
{
nRet = m_pRasterProc->Multiply(m_LeadRasterView.GetRaster (),
m_pRasterImageEfxDlg->Factor
);
}
}