GetMinMaxBits example for C++ 4.0 and later

The following example retrieves the values for MinBit and MaxBit using GetMinMaxBits and writes the results.

    CString cs;

    m_Lead1.GetMinMaxBits();
    cs.Format("%d", m_Lead1.GetMinBit());
    m_Edit1.SetWindowText(cs);
    cs.Format("%d", m_Lead1.GetMaxBit());
    m_Edit2.SetWindowText(cs);