April 29th, 1999, 03:28 AM
How do you code the ComboBoxEx Control as read-only?
I tried the following code, but it doesn't work:
CEdit* pCombo = (CEdit*)GetDlgItem(IDC_XXX); // XXX is the name of your ComboBoxEx Ctrl
pCombo->SetReadOnly();
I tried the following code, but it doesn't work:
CEdit* pCombo = (CEdit*)GetDlgItem(IDC_XXX); // XXX is the name of your ComboBoxEx Ctrl
pCombo->SetReadOnly();