CComboBox SetwindowText() with CBS_DROPDOWNLIST style

I am trying to use a CComboBox in my application that has a style of CBS_DROPDOWNLIST so the user cannot type his own text in. However, if there is not a selection (like when the application first comes up) I want the edit section to have the decscription of what is in the box. I have tried calling SetWindowText() but it doesn't work. I am assuming because the text I want to set is not found in the combobox droplist. Is there a way to accomplish this with the MFC CComboBox???

listen... I appreciate your comments but I need to know if there is a way to make the CComboBox do what I need it to do. If the standard MFC CComboBox will not work for what I need it to do, then I will have to create my own ComboBox that will. I was just hoping that I was doing something wrong or maybe someone knew about a quirky little hack to force the CComboBox to do what I want.

Again.. no offense.... I just already have a vision of how this interface should look and react.

>If the standard MFC CComboBox will not work for what I need it to do, then I will have to create my own ComboBox that will.
As far as I know is your unique solution. A posible method is to make a CComboBox derived with DROP-DOWN option, and avoid any user input in the edit area.

Also you can do this. Use a standard CComboBox with DROP-LIST attribute, as I suggested early, with a first "dummy" item showing some explanation. When you detect that user have selected an option, you can delete first item.

Introduction:
Dialogs (2) modeless dialog and a worker thread. Handling data shared between threads. Recursive functions.
Continuing from the tenth article about sudoku.
Last article we worked with a modal dialog to help maintain informat…

Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…