Bonjour � tous,
Je d�veloppe un programme SmartDevice MFC pour une machine portable tournant sous Windows mobile.
Je cr�� une variable de type CComboBox, puis je lui ajoute deux string avec AddString(L"");
Lorsque j'ex�cute mon programme, ma CComboBox est affich�e mais pas les String qui j'y ai ajout�.
Voici mon Code :
et un capture du r�sultat :
Code : S�lectionner tout - Visualiser dans une fen�tre � part
1
2
3
4
5 CComboBox choice; choice.Create(WS_CHILD|WS_VISIBLE|WS_VSCROLL|CBS_DROPDOWNLIST, CRect(30, 20, xMax -30, 50), this, 1); choice.AddString(L"RFID"); choice.AddString(L"SCAN");
Une solution ?
Partager