Click here to Skip to main content
15,888,106 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to display '&' text on CMFCToolBarButton Pin
wolfplan8-Jun-09 17:29
wolfplan8-Jun-09 17:29 
GeneralRe: How to display '&' text on CMFCToolBarButton Pin
Un Suthee9-Jun-09 8:17
Un Suthee9-Jun-09 8:17 
AnswerRe: How to display '&' text on CMFCToolBarButton Pin
yuanbo8610228-Jun-09 19:30
yuanbo8610228-Jun-09 19:30 
QuestionUnhandled exception access violation on function call. Any tips on how to proceed Pin
ujwal koneru8-Jun-09 9:46
ujwal koneru8-Jun-09 9:46 
QuestionRe: Unhandled exception access violation on function call. Any tips on how to proceed Pin
CPallini8-Jun-09 9:55
mveCPallini8-Jun-09 9:55 
AnswerRe: Unhandled exception access violation on function call. Any tips on how to proceed Pin
ujwal koneru8-Jun-09 10:43
ujwal koneru8-Jun-09 10:43 
GeneralRe: Unhandled exception access violation on function call. Any tips on how to proceed Pin
«_Superman_»8-Jun-09 15:49
professional«_Superman_»8-Jun-09 15:49 
Questiondissapearence of dialog parts in c++ Pin
andrassy8-Jun-09 8:51
andrassy8-Jun-09 8:51 
hello :]

I have a problem with my dialog(s) and I did some screens in order to explaine easier where I am stucked.
Since english is not my language, please accept appologies in advance, if I may sound a little bit unclear.

I have made the following dialog:

http://i213.photobucket.com/albums/cc181/ves604/komp/01.jpg

which as you see, has more than one part. On the left side is list-menu, where user can choose one of 4 options, that
will show on the right side, in the place of child dialog. That child dialog is attached to the main one (the parent),
each time when I call one of those 4 options, I have to do that. We have written funstion "AttachChildDlg", and also, "DetachChildDlg"
that does the opposite: when I want to get from ie first child (that is first option) to third child (third option in menu), I have to
detach the first one, and after, attach the third one as new one. That is doing very well.
the problem gets with this: when I have this, first child, which contains another child dialog in itself (that list with some data),
and if from that one, I call another dialog by pressing some button, and then from that one another dialog, do something there, return with OK to previous,
then from that one - return again to previous (the original one) - what I get then is that my child dialog inside the first child - has dissapeared.

I know this might sound lot difficult, so I am giving these screenshots, as photo can speak instead of thousand words

when I click on that dialog, on red-circled button, I open another dialog,

http://i213.photobucket.com/albums/cc181/ves604/komp/02.jpg

then I mark something on right side, and open another dialog,

http://i213.photobucket.com/albums/cc181/ves604/komp/03.jpg

now, if I return with OK to previous, and then again to very first one, I get this:

http://i213.photobucket.com/albums/cc181/ves604/komp/04.jpg

soo..if anybody has any idea what might gone wrong, please write it. I can post you part of code of course.
Maybe there is something in dialog properties that I didn't use properly, but I tried so many combinations..
thank you Smile | :)


I am working in Visual Studio 2005, C++
AnswerRe: dissapearence of dialog parts in c++ Pin
David Crow8-Jun-09 10:30
David Crow8-Jun-09 10:30 
AnswerRe: dissapearence of dialog parts in c++ Pin
«_Superman_»8-Jun-09 15:54
professional«_Superman_»8-Jun-09 15:54 
GeneralRe: dissapearence of dialog parts in c++ Pin
andrassy9-Jun-09 6:55
andrassy9-Jun-09 6:55 
GeneralRe: dissapearence of dialog parts in c++ Pin
andrassy21-Jul-09 10:09
andrassy21-Jul-09 10:09 
QuestionParenting a modal CDialog Pin
TyrionTheImp8-Jun-09 8:17
TyrionTheImp8-Jun-09 8:17 
AnswerRe: Parenting a modal CDialog Pin
Sarath C8-Jun-09 9:09
Sarath C8-Jun-09 9:09 
GeneralRe: Parenting a modal CDialog Pin
TyrionTheImp9-Jun-09 4:40
TyrionTheImp9-Jun-09 4:40 
QuestionRe: Parenting a modal CDialog Pin
David Crow8-Jun-09 10:22
David Crow8-Jun-09 10:22 
AnswerRe: Parenting a modal CDialog Pin
TyrionTheImp9-Jun-09 4:42
TyrionTheImp9-Jun-09 4:42 
GeneralRe: Parenting a modal CDialog Pin
TyrionTheImp21-Jun-09 4:05
TyrionTheImp21-Jun-09 4:05 
Questioninet_addr function and leading zeros Pin
JBAK_CP8-Jun-09 8:16
JBAK_CP8-Jun-09 8:16 
AnswerRe: inet_addr function and leading zeros Pin
CPallini8-Jun-09 8:59
mveCPallini8-Jun-09 8:59 
GeneralRe: inet_addr function and leading zeros Pin
JBAK_CP8-Jun-09 9:15
JBAK_CP8-Jun-09 9:15 
QuestionP.C. Serial Communication for Visual C++ Dialog Pin
Member 17278168-Jun-09 8:14
Member 17278168-Jun-09 8:14 
AnswerRe: P.C. Serial Communication for Visual C++ Dialog Pin
Stuart Dootson8-Jun-09 9:35
professionalStuart Dootson8-Jun-09 9:35 
QuestionRe: P.C. Serial Communication for Visual C++ Dialog Pin
CPallini8-Jun-09 9:52
mveCPallini8-Jun-09 9:52 
AnswerRe: P.C. Serial Communication for Visual C++ Dialog Pin
David Crow8-Jun-09 10:20
David Crow8-Jun-09 10:20 

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.