April 24th, 1999, 04:35 PM
How do you make the CComboBoxEx read-only?
I tried the following code in OnInitDoalog, but to no avail:
CEdit* pEdit = (CEdit*)GetDlgItem(IDC_COMBOBOXEX);
pEdit->SetReadOnly(TRUE);
I tried the following code in OnInitDoalog, but to no avail:
CEdit* pEdit = (CEdit*)GetDlgItem(IDC_COMBOBOXEX);
pEdit->SetReadOnly(TRUE);