Click here to Skip to main content
15,914,481 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Iphlpapi.h Pin
Prakash Nadar16-Dec-04 3:13
Prakash Nadar16-Dec-04 3:13 
GeneralRe: Iphlpapi.h Pin
ThatsAlok16-Dec-04 17:00
ThatsAlok16-Dec-04 17:00 
GeneralRe: Iphlpapi.h Pin
Prakash Nadar17-Dec-04 3:31
Prakash Nadar17-Dec-04 3:31 
GeneralRe: Iphlpapi.h Pin
ThatsAlok17-Dec-04 17:02
ThatsAlok17-Dec-04 17:02 
GeneralRe: Iphlpapi.h Pin
dex_ter1119-Dec-04 18:23
dex_ter1119-Dec-04 18:23 
QuestionHow to change the Color of Menu Bars? Pin
pubududilena16-Dec-04 2:02
pubududilena16-Dec-04 2:02 
GeneralCombo box values Pin
Rich Wright16-Dec-04 1:58
Rich Wright16-Dec-04 1:58 
GeneralRe: Combo box values Pin
David Crow16-Dec-04 4:14
David Crow16-Dec-04 4:14 
The AddString() method takes a pointer to a null-terminated string, not a single character, which is what my_array[99] refers to. In other words, this will not work:

m_combobox.AddString(my_array[99]);
but this will:

CString str = my_array[99];
m_combobox.AddString(str);
You could also do something like:

char c[2] = {0};
c[0] = my_array[99];
m_combobox.AddString(c);



"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow


GeneralRe: Combo box values Pin
Rich Wright16-Dec-04 7:08
Rich Wright16-Dec-04 7:08 
GeneralRe: Combo box values Pin
David Crow16-Dec-04 7:39
David Crow16-Dec-04 7:39 
GeneralRe: Combo box values Pin
toxcct16-Dec-04 8:03
toxcct16-Dec-04 8:03 
GeneralRe: Combo box values Pin
Maximilien16-Dec-04 8:54
Maximilien16-Dec-04 8:54 
GeneralRe: Combo box values Pin
toxcct16-Dec-04 9:32
toxcct16-Dec-04 9:32 
GeneralCoursework Help Pin
Flame12316-Dec-04 1:05
Flame12316-Dec-04 1:05 
GeneralRe: Coursework Help Pin
David Crow16-Dec-04 4:18
David Crow16-Dec-04 4:18 
GeneralRe: Coursework Help Pin
Anonymous16-Dec-04 4:38
Anonymous16-Dec-04 4:38 
GeneralRe: Coursework Help Pin
David Crow16-Dec-04 5:33
David Crow16-Dec-04 5:33 
GeneralRe: Coursework Help Pin
Flame12316-Dec-04 6:50
Flame12316-Dec-04 6:50 
GeneralRe: Coursework Help Pin
David Crow16-Dec-04 7:33
David Crow16-Dec-04 7:33 
GeneralRe: Coursework Help Pin
Anonymous16-Dec-04 7:55
Anonymous16-Dec-04 7:55 
GeneralRe: Coursework Help Pin
Flame12316-Dec-04 8:07
Flame12316-Dec-04 8:07 
GeneralResizable treeview/listbox in a window Pin
tintin7715-Dec-04 23:06
tintin7715-Dec-04 23:06 
GeneralRe: Resizable treeview/listbox in a window Pin
Maximilien16-Dec-04 0:18
Maximilien16-Dec-04 0:18 
GeneralRe: Resizable treeview/listbox in a window Pin
tintin7716-Dec-04 1:47
tintin7716-Dec-04 1:47 
GeneralRe: Resizable treeview/listbox in a window Pin
Blake Miller16-Dec-04 3:58
Blake Miller16-Dec-04 3:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.