Click here to Skip to main content
15,900,724 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Free/total RAM? Pin
dontknowitall6-Apr-07 16:48
dontknowitall6-Apr-07 16:48 
Questionchild dialog box? Pin
iayd6-Apr-07 11:11
iayd6-Apr-07 11:11 
AnswerRe: child dialog box? Pin
Ravi Bhavnani6-Apr-07 16:25
professionalRavi Bhavnani6-Apr-07 16:25 
QuestionRe: child dialog box? Pin
iayd6-Apr-07 21:07
iayd6-Apr-07 21:07 
QuestionRe: child dialog box? Pin
Hamid_RT6-Apr-07 21:58
Hamid_RT6-Apr-07 21:58 
AnswerRe: child dialog box? Pin
iayd6-Apr-07 22:24
iayd6-Apr-07 22:24 
GeneralRe: child dialog box? Pin
Hamid_RT7-Apr-07 0:13
Hamid_RT7-Apr-07 0:13 
AnswerRe: child dialog box? Pin
Ravi Bhavnani7-Apr-07 4:03
professionalRavi Bhavnani7-Apr-07 4:03 
iayd wrote:
is this program will write the letter to first dialog box at the same time when I pushed the button in the second dialog box?

Yes.

iayd wrote:
Which part of the program provide this?

I'm not sure I understand your question.

iayd wrote:
where I am declaring m_pFirstDlg?

m_pFirstDlg is declared in the second dialog box and is a pointer to the first one. When the first dialog box creates the second one, it should pass a pointer to itself to the 2nd dialog box. That pointer is stored in the second dialog box's member variable m_pFirstDlg. Alternatively (as has WhiteSky has pointed out), the 2nd dialog box can get at the first dialog box by calling GetParent(), since it (the 2nd dialog box) is the child of the first one.

/ravi

This is your brain on Celcius
Home | Music | Articles | Freeware | Trips
ravib(at)ravib(dot)com

GeneralRe: child dialog box? Pin
iayd8-Apr-07 21:17
iayd8-Apr-07 21:17 
QuestionRestrict Collapsing items in tree control Pin
Super Hornet6-Apr-07 10:46
Super Hornet6-Apr-07 10:46 
AnswerRe: Restrict Collapsing items in tree control Pin
Michael Dunn6-Apr-07 11:44
sitebuilderMichael Dunn6-Apr-07 11:44 
GeneralRe: Restrict Collapsing items in tree control Pin
Super Hornet7-Apr-07 0:47
Super Hornet7-Apr-07 0:47 
QuestionClass Member Declaration Problem Pin
all_in_flames6-Apr-07 10:18
professionalall_in_flames6-Apr-07 10:18 
AnswerRe: Class Member Declaration Problem Pin
David Crow6-Apr-07 10:45
David Crow6-Apr-07 10:45 
AnswerRe: Class Member Declaration Problem Pin
Michael Dunn6-Apr-07 11:46
sitebuilderMichael Dunn6-Apr-07 11:46 
JokeRe: Class Member Declaration Problem Pin
all_in_flames6-Apr-07 15:08
professionalall_in_flames6-Apr-07 15:08 
QuestionCreateCompatibleBitmap out of memory - capturing 30 images/sec Pin
pnok6-Apr-07 6:37
pnok6-Apr-07 6:37 
AnswerRe: CreateCompatibleBitmap out of memory - capturing 30 images/sec Pin
Mark Salsbery6-Apr-07 6:51
Mark Salsbery6-Apr-07 6:51 
GeneralRe: CreateCompatibleBitmap out of memory - capturing 30 images/sec Pin
led mike6-Apr-07 7:15
led mike6-Apr-07 7:15 
GeneralRe: CreateCompatibleBitmap out of memory - capturing 30 images/sec Pin
Mark Salsbery6-Apr-07 7:21
Mark Salsbery6-Apr-07 7:21 
GeneralRe: CreateCompatibleBitmap out of memory - capturing 30 images/sec Pin
led mike6-Apr-07 7:47
led mike6-Apr-07 7:47 
AnswerRe: CreateCompatibleBitmap out of memory - capturing 30 images/sec Pin
Chris Losinger6-Apr-07 9:33
professionalChris Losinger6-Apr-07 9:33 
QuestionDisplay Series of numbers in an edit box of MFC Pin
SamPrem6-Apr-07 6:05
SamPrem6-Apr-07 6:05 
AnswerRe: Display Series of numbers in an edit box of MFC Pin
houari_id6-Apr-07 6:08
houari_id6-Apr-07 6:08 
AnswerRe: Display Series of numbers in an edit box of MFC Pin
prasad_som6-Apr-07 6:42
prasad_som6-Apr-07 6:42 

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.