CaptureObjectOptionDlg Example for C++ 5.0 and later

    /*display the capture selected object dialog*/
    m_pRasterScr1.CaptureObjectOptionDlg((long)this->m_hWnd, 0);