Click here to Skip to main content
16,005,236 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Adding Items Pin
VinayCool14-May-06 23:26
VinayCool14-May-06 23:26 
GeneralRe: Adding Items Pin
Eytukan15-May-06 0:03
Eytukan15-May-06 0:03 
GeneralRe: Adding Items Pin
VinayCool15-May-06 0:06
VinayCool15-May-06 0:06 
GeneralRe: Adding Items Pin
Russell'15-May-06 0:16
Russell'15-May-06 0:16 
GeneralRe: Adding Items Pin
Eytukan15-May-06 0:17
Eytukan15-May-06 0:17 
GeneralRe: Adding Items Pin
Hamid_RT15-May-06 4:12
Hamid_RT15-May-06 4:12 
AnswerRe: Adding Items Pin
_AnsHUMAN_ 14-May-06 21:00
_AnsHUMAN_ 14-May-06 21:00 
AnswerRe: Adding Items Pin
Maximilien15-May-06 3:04
Maximilien15-May-06 3:04 
 CStatusDlg status;
status.m_OUT.AddString(e->filename);


You cannot do this like that.

the m_OUT listbox will not be Created until you call either DoModal or Create, so it will crash because the HWND will not exists.

One way is to fill the listbox in the OnInitDialog of your dialog.




Maximilien Lincourt
Your Head A Splode - Strong Bad
GeneralRe: Adding Items Pin
Hamid_RT15-May-06 4:13
Hamid_RT15-May-06 4:13 
AnswerRe: Adding Items Pin
David Crow15-May-06 6:21
David Crow15-May-06 6:21 
GeneralRe: Adding Items Pin
VinayCool15-May-06 20:40
VinayCool15-May-06 20:40 
GeneralRe: Adding Items Pin
David Crow16-May-06 4:32
David Crow16-May-06 4:32 
QuestionCopy constructor Pin
Scorpio14-May-06 19:36
Scorpio14-May-06 19:36 
AnswerRe: Copy constructor Pin
Nibu babu thomas14-May-06 20:01
Nibu babu thomas14-May-06 20:01 
AnswerRe: Copy constructor Pin
Alton Williams7-Jun-06 3:06
Alton Williams7-Jun-06 3:06 
QuestionIOCompletion port question about file IO Pin
followait14-May-06 19:03
followait14-May-06 19:03 
QuestionRetrival of from EXE Pin
birajendu14-May-06 18:42
birajendu14-May-06 18:42 
AnswerRe: Retrival of from EXE Pin
Ryan Binns14-May-06 18:58
Ryan Binns14-May-06 18:58 
AnswerRe: Retrival of from EXE Pin
_AnsHUMAN_ 14-May-06 19:00
_AnsHUMAN_ 14-May-06 19:00 
GeneralRe: Retrival of from EXE Pin
birajendu14-May-06 19:12
birajendu14-May-06 19:12 
GeneralRe: Retrival of from EXE Pin
ThatsAlok14-May-06 23:40
ThatsAlok14-May-06 23:40 
QuestionSending Bytes to Activex VC++.Net Pin
satsumatable14-May-06 18:40
satsumatable14-May-06 18:40 
Questionhow to convert series of BMP to a movie(AVI) Pin
ramyasangeet14-May-06 18:38
ramyasangeet14-May-06 18:38 
AnswerRe: how to convert series of BMP to a movie(AVI) Pin
Cool Ju14-May-06 19:06
Cool Ju14-May-06 19:06 
Questionhelp on MFC (urgent) Pin
makaveli_0714-May-06 17:47
makaveli_0714-May-06 17:47 

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.