Click here to Skip to main content
16,004,806 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionQuestion regarding Directshow and custom video capture Pin
godspeed12325-May-07 15:32
godspeed12325-May-07 15:32 
AnswerRe: Question regarding Directshow and custom video capture Pin
Mark Salsbery26-May-07 6:33
Mark Salsbery26-May-07 6:33 
QuestionAfxMessageBox stop working after split the frame Pin
gurucplusplus25-May-07 14:01
gurucplusplus25-May-07 14:01 
AnswerRe: AfxMessageBox stop working after split the frame Pin
Demian Panello25-May-07 15:31
Demian Panello25-May-07 15:31 
GeneralRe: AfxMessageBox stop working after split the frame Pin
gurucplusplus25-May-07 16:52
gurucplusplus25-May-07 16:52 
GeneralRe: AfxMessageBox stop working after split the frame Pin
Demian Panello26-May-07 3:41
Demian Panello26-May-07 3:41 
GeneralRe: AfxMessageBox stop working after split the frame Pin
gurucplusplus26-May-07 6:58
gurucplusplus26-May-07 6:58 
GeneralRe: AfxMessageBox stop working after split the frame Pin
Demian Panello26-May-07 14:34
Demian Panello26-May-07 14:34 
Yeah, very strange.Confused | :confused:

For testing try the following:

Build another SDI aplication and without any extra condition, add an AfxMessageBox() call somewhere, (ie: clicking in the view). If that works, try to think the last thing, (maybe some code), you did in your SDI application, before that strange behaviour.
If the test don't work, so there's something wrong with your MFC libraries or you've change something in the default Visual Studio configuration, (but I don't think so).

The subject of your post says: "AfxMessageBox stop working after split the frame". Well, if really this started to happen since split the FrameWindow, you should come back to that point and see which situations could turn every "modal dialog" to fail and hang the application.

But look at this: (I think this is the real problem).

It looks like your problem is that you "pop" a modal dialog and for some reason you can't see it and consequently you can close that "modal dialog", then it looks like the application is "hang", but it's not, just you can't close the modal dialog because you can't see it or is behind the frame.

Demian.

"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my telephone."

-Bjarne Stroustrup, computer science professor, designer of C++
programming language (1950- )

GeneralRe: AfxMessageBox stop working after split the frame Pin
gurucplusplus27-May-07 20:03
gurucplusplus27-May-07 20:03 
QuestionGetting handle of folders with CreateFile Pin
Akin Ocal25-May-07 11:46
Akin Ocal25-May-07 11:46 
AnswerRe: Getting handle of folders with CreateFile Pin
Mark Salsbery25-May-07 11:57
Mark Salsbery25-May-07 11:57 
QuestionHow to enum access permissions and SIDs Pin
Akin Ocal25-May-07 11:45
Akin Ocal25-May-07 11:45 
AnswerRe: How to enum access permissions and SIDs Pin
Hans Dietrich26-May-07 15:30
mentorHans Dietrich26-May-07 15:30 
GeneralRe: How to enum access permissions and SIDs Pin
Akin Ocal26-May-07 15:37
Akin Ocal26-May-07 15:37 
QuestionHow to use map file for finding the crash in DLL? Pin
tom groezer25-May-07 11:27
tom groezer25-May-07 11:27 
AnswerRe: How to use map file for finding the crash in DLL? Pin
Taka Muraoka26-May-07 1:17
Taka Muraoka26-May-07 1:17 
AnswerRe: How to use map file for finding the crash in DLL? Pin
Stephen Hewitt27-May-07 15:02
Stephen Hewitt27-May-07 15:02 
QuestionTop-level windows Pin
Perspx25-May-07 11:25
Perspx25-May-07 11:25 
AnswerRe: Top-level windows Pin
Arman S.26-May-07 1:36
Arman S.26-May-07 1:36 
QuestionSet DC Font Pin
Perspx25-May-07 11:05
Perspx25-May-07 11:05 
AnswerRe: Set DC Font Pin
Mark Salsbery25-May-07 12:03
Mark Salsbery25-May-07 12:03 
QuestionProject Settings Pin
tom groezer25-May-07 10:19
tom groezer25-May-07 10:19 
QuestionRe: Project Settings Pin
CPallini25-May-07 10:21
mveCPallini25-May-07 10:21 
AnswerRe: Project Settings Pin
tom groezer27-May-07 22:17
tom groezer27-May-07 22:17 
QuestionDLL Pin
tom groezer25-May-07 9:59
tom groezer25-May-07 9:59 

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.