ShowZoomWaveDlg Example for C++ 5.0 and later
void CDialogs::OnShowZoomWaveDlg()
{
int nRet;
m_pRasterImageEfxDlg->UIFlags = ZOOMWAVE_SHOW_PREVIEW |
ZOOMWAVE_SHOW_TOOL_ZOOMLEVEL;
m_pRasterImageEfxDlg->Bitmap = m_LeadRasterView.GetRaster ().GetBitmap ();
nRet= m_pRasterImageEfxDlg->ShowZoomWaveDlg((long)this->m_hWnd);
if (nRet == 0 && m_pRasterImageEfxDlg->DialogStatus == DLG_OK)
{
m_pRasterProc->ZoomWave (m_LeadRasterView.GetRaster (),
m_pRasterImageEfxDlg->Amplitude,
m_pRasterImageEfxDlg->Frequency,
m_pRasterImageEfxDlg->Phase,
m_pRasterImageEfxDlg->ZoomFactor,
m_pRasterImageEfxDlg->CenterX,
m_pRasterImageEfxDlg->CenterY,
m_pRasterImageEfxDlg->FillColor,
m_pRasterImageEfxDlg->ImageEffectFlags
);
}
}