ShowGIFWebTunerDlg Example for C++ 5.0 and later
void CDialogs::OnGIFWebTuner()
{
short nRet;
m_pRasterWebDlg->PutBitmap (m_RasterView.GetRaster().GetBitmap ());
m_pRasterWebDlg->PutUIFlags (GIFWEBTUNER_SHOW_INFORMATION |
GIFWEBTUNER_SHOW_PREVIEW |
GIFWEBTUNER_SHOW_TOOL_ZOOMLEVEL |
GIFWEBTUNER_SHOW_TOOL_COLORPICKER |
GIFWEBTUNER_SHOW_TRANSPARENCY |
GIFWEBTUNER_SHOW_OPTIONS |
GIFWEBTUNER_SHOW_ADDWINDOWCOLOR);
nRet = m_pRasterWebDlg->ShowGIFWebTunerDlg((long)this->m_hWnd);
if(nRet == 0 && m_pRasterWebDlg->GetDialogStatus () == OK)
{
m_pRasterProcess->Fill (m_RasterView.GetRaster (),
m_pRasterWebDlg->GetTransparentColor());
}
}