how can i prevent the edit of a selected item in combobox?
how can i prevent the edit of a selected item in combobox?
1st get a handle to the edit control part of the combobox (use getwindow with GL_CHILD), then send it a ES_READONLY style change. (untested)
EDIT: I just found this, if you use the extended style CBS_DROPDOWNLIST, it will be readonly also.
Last edited by Darryl; 06-08-2005 at 09:45 AM.