Click here to Skip to main content
15,913,758 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Network drive UNC? Pin
Bruce Duncan21-Nov-01 21:08
Bruce Duncan21-Nov-01 21:08 
GeneralRe: Network drive UNC? Pin
22-Nov-01 2:40
suss22-Nov-01 2:40 
GeneralPlugins Pin
Deian21-Nov-01 20:06
Deian21-Nov-01 20:06 
GeneralHacking into system Dlls Pin
21-Nov-01 14:30
suss21-Nov-01 14:30 
GeneralRe: Hacking into system Dlls Pin
Rassman22-Nov-01 2:16
Rassman22-Nov-01 2:16 
GeneralCombo Box Problem Pin
mvworld21-Nov-01 14:23
mvworld21-Nov-01 14:23 
GeneralRe: Combo Box Problem Pin
Sidney Chong21-Nov-01 14:42
Sidney Chong21-Nov-01 14:42 
GeneralRe: Combo Box Problem Pin
mvworld21-Nov-01 14:47
mvworld21-Nov-01 14:47 
Well the application crashes.

I have a main dialog box and in one of the functions I create a child dialog box which has the member variable m_ComboBox as public.

So in my main dialog box I have

CChildDialog ChildDlg;
ChildDlg.m_ComboBox.AddString("Some Text");
ChildDlg.DoModal();

And then when I run this application, it crashes.

So to test again I tried to Add a string to the combobox in the constructor of my child dialog but the application still crashed!

What shall I do?

GeneralRe: Combo Box Problem Pin
Masaaki Onishi21-Nov-01 15:05
Masaaki Onishi21-Nov-01 15:05 
GeneralRe: Combo Box Problem Pin
mvworld21-Nov-01 15:13
mvworld21-Nov-01 15:13 
GeneralRe: WM_INITDIALOG Pin
Masaaki Onishi21-Nov-01 17:33
Masaaki Onishi21-Nov-01 17:33 
GeneralRe: Combo Box Problem Pin
Sidney Chong21-Nov-01 15:21
Sidney Chong21-Nov-01 15:21 
GeneralRe: Combo Box Problem Pin
mvworld21-Nov-01 15:49
mvworld21-Nov-01 15:49 
GeneralRe: Combo Box Problem Pin
Sidney Chong21-Nov-01 16:46
Sidney Chong21-Nov-01 16:46 
GeneralRe: Combo Box Problem Pin
Michael Dunn21-Nov-01 17:47
sitebuilderMichael Dunn21-Nov-01 17:47 
GeneralRe: Combo Box Problem Pin
luckylourson21-Nov-01 22:07
luckylourson21-Nov-01 22:07 
GeneralRe: Hum, a little different! Pin
Masaaki Onishi22-Nov-01 4:36
Masaaki Onishi22-Nov-01 4:36 
QuestionChanging the font in a Combo Box? Pin
Chambers21-Nov-01 9:51
Chambers21-Nov-01 9:51 
AnswerRe: Changing the font in a Combo Box? Pin
Nemanja Trifunovic21-Nov-01 10:06
Nemanja Trifunovic21-Nov-01 10:06 
GeneralRe: Changing the font in a Combo Box? Pin
Chambers21-Nov-01 12:50
Chambers21-Nov-01 12:50 
GeneralRe: Changing the font in a Combo Box? Pin
Derek Waters21-Nov-01 12:55
Derek Waters21-Nov-01 12:55 
GeneralRe: Changing the font in a Combo Box? Pin
Chambers22-Nov-01 1:33
Chambers22-Nov-01 1:33 
GeneralRe: Changing the font in a Combo Box? Pin
22-Nov-01 1:46
suss22-Nov-01 1:46 
GeneralTowers of Hanoi Pin
Zach21-Nov-01 9:45
Zach21-Nov-01 9:45 
GeneralRe: Towers of Hanoi Pin
Christian Graus21-Nov-01 10:18
protectorChristian Graus21-Nov-01 10:18 

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.