Click here to Skip to main content
15,907,677 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Hi! VC console GUI Pin
Cedric Moonen8-Jun-09 20:19
Cedric Moonen8-Jun-09 20:19 
AnswerRe: Hi! VC console GUI Pin
Michael Schubert9-Jun-09 0:44
Michael Schubert9-Jun-09 0:44 
QuestionHow to convert a VARIANT buffer to a byte buffer? Pin
gpenghe8-Jun-09 17:00
gpenghe8-Jun-09 17:00 
AnswerRe: How to convert a VARIANT buffer to a byte buffer? Pin
«_Superman_»8-Jun-09 19:23
professional«_Superman_»8-Jun-09 19:23 
GeneralRe: How to convert a VARIANT buffer to a byte buffer? Pin
gpenghe8-Jun-09 23:38
gpenghe8-Jun-09 23:38 
GeneralRe: How to convert a VARIANT buffer to a byte buffer? Pin
«_Superman_»9-Jun-09 5:33
professional«_Superman_»9-Jun-09 5:33 
GeneralRe: How to convert a VARIANT buffer to a byte buffer? Pin
gpenghe9-Jun-09 5:43
gpenghe9-Jun-09 5:43 
QuestionHow to display '&' text on CMFCToolBarButton Pin
Un Suthee8-Jun-09 10:41
Un Suthee8-Jun-09 10:41 
AnswerRe: How to display '&' text on CMFCToolBarButton Pin
Rajesh R Subramanian8-Jun-09 11:11
professionalRajesh R Subramanian8-Jun-09 11:11 
GeneralRe: How to display '&' text on CMFCToolBarButton Pin
Un Suthee8-Jun-09 12:47
Un Suthee8-Jun-09 12:47 
GeneralRe: How to display '&' text on CMFCToolBarButton Pin
«_Superman_»8-Jun-09 15:39
professional«_Superman_»8-Jun-09 15:39 
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 

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.