오후 10:49 2001-12-19
조경민 bro@shinbiro.com
CSliderCtrl을 DoModal 다이얼로그에 붙일때
===================================================

BOOL CTrustDlg::OnInitDialog()
{
        CDialog::OnInitDialog();
        
        // TODO: Add extra initialization here
        m_Trust.SetRange(1,3, TRUE); // TRUE로 안해주면 오동작 -_-;
        m_Trust.SetPos( m_nTrust );

        return TRUE;  // return TRUE unless you set the focus to a control
                      // EXCEPTION: OCX Property Pages should return FALSE
}

+ Recent posts