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
Post a Comment