| 91 | } |
| 92 | |
| 93 | INT_PTR InputDialog::OnInitDialog() { |
| 94 | Dialog::OnInitDialog(); |
| 95 | |
| 96 | m_commentCtrl = GetDlgItem(m_hwnd, IDC_STATIC_COMMENT); |
| 97 | m_valueCtrl = GetDlgItem(m_hwnd, IDC_EDIT_INPUT); |
| 98 | |
| 99 | SetWindowText(m_commentCtrl, m_comment); |
| 100 | SetWindowText(m_valueCtrl, m_value); |
| 101 | |
| 102 | if (m_password) { |
| 103 | Edit_SetPasswordChar(::GetDlgItem(m_hwnd, IDC_EDIT_INPUT), (UINT)'*'); |
| 104 | } |
| 105 | |
| 106 | return TRUE; |
| 107 | } |
nothing calls this directly
no outgoing calls
no test coverage detected