Click here to Skip to main content
16,005,389 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: parent and child data exchange Pin
Maxwell Chen16-Apr-06 20:53
Maxwell Chen16-Apr-06 20:53 
AnswerRe: parent and child data exchange Pin
MANISH RASTOGI16-Apr-06 18:34
MANISH RASTOGI16-Apr-06 18:34 
AnswerRe: parent and child data exchange Pin
MANISH RASTOGI16-Apr-06 18:36
MANISH RASTOGI16-Apr-06 18:36 
GeneralRe: parent and child data exchange Pin
llp00na17-Apr-06 4:20
llp00na17-Apr-06 4:20 
AnswerRe: parent and child data exchange Pin
David Crow17-Apr-06 3:46
David Crow17-Apr-06 3:46 
GeneralRe: parent and child data exchange Pin
llp00na17-Apr-06 4:18
llp00na17-Apr-06 4:18 
GeneralRe: parent and child data exchange Pin
David Crow17-Apr-06 4:44
David Crow17-Apr-06 4:44 
AnswerRe: parent and child data exchange Pin
Radu Sorin18-Apr-06 0:48
Radu Sorin18-Apr-06 0:48 
put two pointers in the child dialog class, that will poin to xParent, yParent (lets say pXParent,pYParent)..
Before calling the child dialog initialize them with the address of the xParent, yParent

something like
childDlg.pXParent = &xParent;
childDlg.pYParent = &yParent;
childDlg.DoModal();


In childDlg class in the onSet(or whatever name you have for the pushing of the Set button) out something like this

*pXParent = xChild;
*pYParent = yChild;
....
now the xParent,yParent will have the values of xChild, yChild
QuestionScreen Capture and Getting pixels? Pin
dSolariuM16-Apr-06 5:33
dSolariuM16-Apr-06 5:33 
AnswerRe: Screen Capture and Getting pixels? Pin
Saurabh.Garg16-Apr-06 5:54
Saurabh.Garg16-Apr-06 5:54 
AnswerRe: Screen Capture and Getting pixels? Pin
Hamid_RT16-Apr-06 6:35
Hamid_RT16-Apr-06 6:35 
GeneralRe: Screen Capture and Getting pixels? Pin
dSolariuM16-Apr-06 6:59
dSolariuM16-Apr-06 6:59 
GeneralRe: Screen Capture and Getting pixels? Pin
bob1697216-Apr-06 7:36
bob1697216-Apr-06 7:36 
QuestionOptimizing Pin
hint_5416-Apr-06 4:04
hint_5416-Apr-06 4:04 
AnswerRe: Optimizing Pin
Stephen Hewitt16-Apr-06 4:56
Stephen Hewitt16-Apr-06 4:56 
AnswerRe: Optimizing Pin
bob1697216-Apr-06 6:39
bob1697216-Apr-06 6:39 
GeneralRe: Optimizing Pin
hint_5416-Apr-06 10:20
hint_5416-Apr-06 10:20 
GeneralRe: Optimizing Pin
bob1697217-Apr-06 5:46
bob1697217-Apr-06 5:46 
AnswerRe: Optimizing Pin
El Corazon16-Apr-06 15:30
El Corazon16-Apr-06 15:30 
QuestionBitmap pixels Pin
nikhilsai16-Apr-06 3:06
nikhilsai16-Apr-06 3:06 
AnswerRe: Bitmap pixels Pin
eli1502197916-Apr-06 3:24
eli1502197916-Apr-06 3:24 
GeneralRe: Bitmap pixels Pin
bob1697216-Apr-06 15:49
bob1697216-Apr-06 15:49 
AnswerRe: Bitmap pixels Pin
Hamid_RT16-Apr-06 6:33
Hamid_RT16-Apr-06 6:33 
AnswerRe: Bitmap pixels Pin
MANISH RASTOGI16-Apr-06 18:39
MANISH RASTOGI16-Apr-06 18:39 
Questionhow come I can not use the Release( ) methord of CComPtr? Pin
ewighell16-Apr-06 2:41
ewighell16-Apr-06 2:41 

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.