Click to See Complete Forum and Search --> : ComboBox Styles


Master Who
May 27th, 1999, 06:31 AM
Does any one know how to modify the combobox styles dynamically, lets say from CBS_DROPDOWN to CBS_DROPDOWNLIST

I want to allow some people to be able to edit something in the combobox while others should only be allowed to select from the list.

many thanxs

ric
May 27th, 1999, 06:54 AM
Try with GetWindowLong() to get the current styles, then modify the one you want, and then set them with SetWindowLong()