CComboBox : AddString funzt nicht???
-
Hallo ich hab eine Combo Box in einem Dialog:
OnInitDilaog:
CComboBox *p= (CComboBox*) GetDlgItem(IDC_COMBO_PROFILES);
dann rufe ich über eine funktion
p->AddString("Test"); auf, aber es steht nix drin
was könnte das Problem sein?
-
Ich traue mich ja kaum zu fragen, aber ist es vielleicht das ?
http://www.c-plusplus.net/forum/viewtopic-var-t-is-39108.html
-
ja genau .. dann habe ich das selbe problem..
ich hab das dann mal mit ner listbox probiert, da ist kein dropdwon menü.. da steht da steh auch nix drin