ShowHueDlg Example for C++ 5.0 and later
void CDialogs::OnShowHueDlg()
{
int nRet;
m_pRasterColorDlg->UIFlags = HUE_SHOW_PREVIEW |
HUE_SHOW_TOOL_ZOOMLEVEL;
nRet= m_pRasterColorDlg->ShowHueDlg ((long)this->m_hWnd);
if ( nRet == 0 && m_pRasterColorDlg->DialogStatus == DLG_OK )
{
m_pRasterProc->Hue (m_LeadRasterView.GetRaster (),(short)m_pRasterColorDlg->Angle);
}
}