| 61 | // CSoundSourceDialog message handlers |
| 62 | |
| 63 | BOOL CSoundSourceDialog::OnInitDialog() { |
| 64 | CDialog::OnInitDialog(); |
| 65 | |
| 66 | m_sound_combo.Init(m_data_ptr->sound_index); |
| 67 | |
| 68 | return TRUE; // return TRUE unless you set the focus to a control |
| 69 | // EXCEPTION: OCX Property Pages should return FALSE |
| 70 | } |
| 71 | |
| 72 | void CSoundSourceDialog::OnOK() { |
| 73 | if (UpdateData(true)) { |