c++ - How to add strings to the combo box in MFC -


i working on mfc , want add strings combo box. unlike adding in data (hard coding in properties of combo box in resource view), want add them string table , c++ code has load string.

please give suggestions.

- add combo box dialog control - right click combo box , goto class wizard , add member variable of type ccombobox [control varable] -this add ddx_control entry - call variable_name.addstring add strings combo box @ runtime. - if want use strings string table use loadstring load string string table first. - call variable_name.addstring again ...  .... have cleared doubts ??? 

Comments

Popular posts from this blog

node.js - Mongoose: Cast to ObjectId failed for value on newly created object after setting the value -

gradle error "Cannot convert the provided notation to a File or URI" -

python - NameError: name 'subprocess' is not defined -