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);