Click here to Skip to main content
15,921,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: split string - better way? Pin
Cedric Moonen19-Mar-08 21:49
Cedric Moonen19-Mar-08 21:49 
GeneralRe: split string - better way? Pin
ThatsAlok19-Mar-08 19:36
ThatsAlok19-Mar-08 19:36 
AnswerRe: split string - better way? Pin
Cedric Moonen19-Mar-08 5:50
Cedric Moonen19-Mar-08 5:50 
GeneralRe: split string - better way? Pin
Tara1419-Mar-08 7:47
Tara1419-Mar-08 7:47 
GeneralRe: split string - better way? Pin
Cedric Moonen19-Mar-08 8:06
Cedric Moonen19-Mar-08 8:06 
Question[Message Deleted] Pin
Danielle Schmitt19-Mar-08 5:13
Danielle Schmitt19-Mar-08 5:13 
GeneralRe: Can I put a CDialogBar on a CDialog? Pin
SandipG 19-Mar-08 8:42
SandipG 19-Mar-08 8:42 
GeneralCRT Dependencies Detection - App Deployment Pin
snir_ya19-Mar-08 5:08
snir_ya19-Mar-08 5:08 
GeneralRe: CRT Dependencies Detection - App Deployment Pin
Cedric Moonen19-Mar-08 5:13
Cedric Moonen19-Mar-08 5:13 
GeneralRe: CRT Dependencies Detection - App Deployment Pin
led mike19-Mar-08 5:18
led mike19-Mar-08 5:18 
GeneralRe: CRT Dependencies Detection - App Deployment Pin
Matthew Faithfull19-Mar-08 5:20
Matthew Faithfull19-Mar-08 5:20 
GeneralRe: CRT Dependencies Detection - App Deployment Pin
snir_ya19-Mar-08 5:28
snir_ya19-Mar-08 5:28 
GeneralRe: CRT Dependencies Detection - App Deployment Pin
Matthew Faithfull19-Mar-08 6:50
Matthew Faithfull19-Mar-08 6:50 
QuestionUnique hardware code Pin
Joseph Marzbani19-Mar-08 4:43
Joseph Marzbani19-Mar-08 4:43 
QuestionRe: Unique hardware code Pin
Maximilien19-Mar-08 5:10
Maximilien19-Mar-08 5:10 
GeneralRe: Unique hardware code Pin
Chris Losinger19-Mar-08 7:16
professionalChris Losinger19-Mar-08 7:16 
GeneralRe: Unique hardware code Pin
James R. Twine19-Mar-08 8:37
James R. Twine19-Mar-08 8:37 
GeneralNative C++ resources in a .NET application Pin
hatemtaleb19-Mar-08 4:20
hatemtaleb19-Mar-08 4:20 
GeneralRe: Native C++ resources in a .NET application Pin
led mike19-Mar-08 4:41
led mike19-Mar-08 4:41 
GeneralRe: Native C++ resources in a .NET application Pin
hatemtaleb19-Mar-08 5:02
hatemtaleb19-Mar-08 5:02 
GeneralRe: Native C++ resources in a .NET application Pin
led mike19-Mar-08 5:08
led mike19-Mar-08 5:08 
GeneralRe: Native C++ resources in a .NET application Pin
hatemtaleb19-Mar-08 5:22
hatemtaleb19-Mar-08 5:22 
GeneralRe: Native C++ resources in a .NET application Pin
led mike19-Mar-08 5:28
led mike19-Mar-08 5:28 
GeneralRe: Native C++ resources in a .NET application Pin
hatemtaleb19-Mar-08 5:41
hatemtaleb19-Mar-08 5:41 
GeneralSending messages to parent Pin
William Engberts19-Mar-08 3:55
William Engberts19-Mar-08 3:55 
Hi all,

I am writing a program that has a main window with a list control. Upon double clicking an item in the list control, I open a dialog box pertaining to this item (There are a numebr og dialogs in a linked list, of which one is selected). The dialog box is running in a modeless mode, since processing in the main window must continue. When I press the OK button, I send a message to the parent window (I pass the m_hWnd of the main window to the dialog boxes and use ::PostMessage) This message causes the main window to update the list control to reflect possible changes made in the dialog box. I then call "DestroyWindow" for the dialog.
This works fine the first time, but it crashes the second time I enter the same modeless dialog. When I comment-out the postmessage call, then everything works fine, so it seems that this message causes the crash. I can see that it is processed before the crash.
Anyone any suggestions?

Thanks in advance,
William

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.