Click here to Skip to main content
15,949,686 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Display a msgBox using VC++ Pin
Christian Graus20-Sep-06 23:37
protectorChristian Graus20-Sep-06 23:37 
GeneralRe: Display a msgBox using VC++ Pin
namy121-Sep-06 2:38
namy121-Sep-06 2:38 
GeneralRe: Display a msgBox using VC++ Pin
Christian Graus21-Sep-06 10:25
protectorChristian Graus21-Sep-06 10:25 
AnswerRe: Display a msgBox using VC++ Pin
Eytukan21-Sep-06 4:14
Eytukan21-Sep-06 4:14 
GeneralRe: Display a msgBox using VC++ Pin
namy121-Sep-06 18:34
namy121-Sep-06 18:34 
GeneralRe: Display a msgBox using VC++ Pin
Eytukan21-Sep-06 21:17
Eytukan21-Sep-06 21:17 
QuestionData from one dialog box into another dialog box Pin
vc++_fragrance20-Sep-06 22:39
vc++_fragrance20-Sep-06 22:39 
AnswerRe: Data from one dialog box into another dialog box Pin
Nibu babu thomas20-Sep-06 22:45
Nibu babu thomas20-Sep-06 22:45 
vc++_fragrance wrote:
Hi,
I created two dialog boxes.I want to get data from a control in one dialog box into another dialog box.
Can anyone say how to get it.
Thank you.


Write one Set function to set the data into the second dialog and then display this dialog.

For eg:

void SetData( PVOID pCustomData )
{
   m_myData = (PMYDATA) pCustomData;
}


Or pass the data to the constructor of the second dialog...

Or use events to send the data to the second dialog and wrap the data inside the LPARAM or WPARAM parameters.


Nibu thomas
A Developer

Programming tips[^]  My site[^]

AnswerRe: Data from one dialog box into another dialog box Pin
Sakthiu20-Sep-06 22:47
Sakthiu20-Sep-06 22:47 
GeneralRe: Data from one dialog box into another dialog box Pin
toxcct20-Sep-06 22:50
toxcct20-Sep-06 22:50 
GeneralRe: Data from one dialog box into another dialog box Pin
Sakthiu20-Sep-06 23:01
Sakthiu20-Sep-06 23:01 
GeneralRe: Data from one dialog box into another dialog box Pin
toxcct20-Sep-06 23:07
toxcct20-Sep-06 23:07 
QuestionRe: Data from one dialog box into another dialog box Pin
Eytukan21-Sep-06 4:15
Eytukan21-Sep-06 4:15 
GeneralRe: Data from one dialog box into another dialog box Pin
Hamid_RT21-Sep-06 8:14
Hamid_RT21-Sep-06 8:14 
AnswerRe: Data from one dialog box into another dialog box Pin
Rinu_Raj20-Sep-06 22:53
Rinu_Raj20-Sep-06 22:53 
QuestionRe: Data from one dialog box into another dialog box Pin
David Crow21-Sep-06 3:40
David Crow21-Sep-06 3:40 
AnswerRe: Data from one dialog box into another dialog box Pin
vc++_fragrance22-Sep-06 22:53
vc++_fragrance22-Sep-06 22:53 
AnswerRe: Data from one dialog box into another dialog box Pin
Hamid_RT21-Sep-06 8:14
Hamid_RT21-Sep-06 8:14 
QuestionHow do you get a dialog to respond to a key down message? Pin
D_code_writer20-Sep-06 22:19
D_code_writer20-Sep-06 22:19 
AnswerRe: How do you get a dialog to respond to a key down message? Pin
Rinu_Raj20-Sep-06 22:36
Rinu_Raj20-Sep-06 22:36 
AnswerRe: How do you get a dialog to respond to a key down message? Pin
Hamid_RT21-Sep-06 8:15
Hamid_RT21-Sep-06 8:15 
QuestionWhat is the notification code that gets sent when a scrollbar event occurs? Pin
skyapie20-Sep-06 22:11
skyapie20-Sep-06 22:11 
AnswerRe: What is the notification code that gets sent when a scrollbar event occurs? Pin
Rinu_Raj20-Sep-06 22:40
Rinu_Raj20-Sep-06 22:40 
GeneralRe: What is the notification code that gets sent when a scrollbar event occurs? Pin
skyapie21-Sep-06 0:03
skyapie21-Sep-06 0:03 
AnswerRe: What is the notification code that gets sent when a scrollbar event occurs? Pin
prasad_som20-Sep-06 22:46
prasad_som20-Sep-06 22:46 

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.