Click here to Skip to main content
15,891,864 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: LoadImage failure? Pin
jhwurmbach18-Oct-07 3:24
jhwurmbach18-Oct-07 3:24 
GeneralRe: LoadImage failure? Pin
Llasus18-Oct-07 4:01
Llasus18-Oct-07 4:01 
GeneralRe: LoadImage failure? Pin
Llasus18-Oct-07 15:53
Llasus18-Oct-07 15:53 
QuestionJapanese email attachments Pin
monsieur_jj17-Oct-07 19:54
monsieur_jj17-Oct-07 19:54 
QuestionMinidumps Pin
Programm3r17-Oct-07 19:31
Programm3r17-Oct-07 19:31 
QuestionAssertion failed Pin
mosali satish17-Oct-07 19:29
mosali satish17-Oct-07 19:29 
QuestionRe: Assertion failed Pin
Hamid_RT17-Oct-07 19:57
Hamid_RT17-Oct-07 19:57 
AnswerRe: Assertion failed Pin
Nelek17-Oct-07 21:04
protectorNelek17-Oct-07 21:04 
Most probably will be a failure with your destructor. The controls need a handler to the parent window. and when you close, and the destructor o the window try to call the destructor of the control. The control has no owner and he asserts.

Is the same as if u want to load some strings in the CComboBox inside the constructor of the dialog, you will have the same assertion. You have to load the datas in OnInitDialog or OnInitialUpdate, insteads of in the constructor.

With the CString you dont have any problem because they are not having such issues.

Take a look where you use the CComboBox and try debugging step by step to find out the secuence o opening/ closing a dialog. I did that using all the messages in relation with creating/destroying a Dialog and just putting an AfxMessageBox with the name of the message calling it and some text inside




Greetings.

--------
M.D.V.

If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?

Help me to understand what I'm saying, and I'll explain it better to you

Wink | ;)

AnswerRe: Assertion failed Pin
David Crow18-Oct-07 2:48
David Crow18-Oct-07 2:48 
QuestionScrollBar Limitations Pin
paresh_joe17-Oct-07 19:24
paresh_joe17-Oct-07 19:24 
AnswerRe: ScrollBar Limitations Pin
Roger Broomfield17-Oct-07 20:16
Roger Broomfield17-Oct-07 20:16 
GeneralRe: ScrollBar Limitations Pin
paresh_joe17-Oct-07 20:34
paresh_joe17-Oct-07 20:34 
QuestionSingleton class Pin
Vinod CS17-Oct-07 18:44
Vinod CS17-Oct-07 18:44 
AnswerRe: Singleton class Pin
ThatsAlok17-Oct-07 19:35
ThatsAlok17-Oct-07 19:35 
GeneralRe: Singleton class Pin
Vinod CS17-Oct-07 20:08
Vinod CS17-Oct-07 20:08 
GeneralRe: Singleton class Pin
ThatsAlok17-Oct-07 20:53
ThatsAlok17-Oct-07 20:53 
GeneralRe: Singleton class Pin
Cedric Moonen17-Oct-07 20:10
Cedric Moonen17-Oct-07 20:10 
GeneralRe: Singleton class Pin
ThatsAlok17-Oct-07 20:54
ThatsAlok17-Oct-07 20:54 
AnswerRe: Singleton class Pin
Cedric Moonen17-Oct-07 20:13
Cedric Moonen17-Oct-07 20:13 
AnswerRe: Singleton class Pin
jhwurmbach17-Oct-07 23:47
jhwurmbach17-Oct-07 23:47 
QuestionA problem Pin
minihotto17-Oct-07 18:23
minihotto17-Oct-07 18:23 
AnswerRe: A problem Pin
baerten17-Oct-07 21:17
baerten17-Oct-07 21:17 
GeneralRe: A problem Pin
Hamid_RT17-Oct-07 21:56
Hamid_RT17-Oct-07 21:56 
GeneralRe: A problem Pin
jhwurmbach17-Oct-07 23:57
jhwurmbach17-Oct-07 23:57 
GeneralRe: A problem Pin
Hamid_RT18-Oct-07 0:03
Hamid_RT18-Oct-07 0:03 

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.