Click here to Skip to main content
15,909,193 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionTracking when Windows are maximized and restored. Pin
Eoinoc15-May-07 1:55
Eoinoc15-May-07 1:55 
QuestionImage Capturing from clipboard and store into file Pin
Sethuraman.K15-May-07 1:26
Sethuraman.K15-May-07 1:26 
AnswerRe: Image Capturing from clipboard and store into file Pin
Mark Salsbery15-May-07 4:57
Mark Salsbery15-May-07 4:57 
QuestionHow To Pass Value From One Dialog To Another [modified] Pin
jannathali15-May-07 1:23
jannathali15-May-07 1:23 
AnswerRe: How To Pass Value From One Dialog To Another Pin
Hamid_RT15-May-07 1:26
Hamid_RT15-May-07 1:26 
AnswerRe: How To Pass Value From One Dialog To Another [modified] Pin
Sherin Iranimose15-May-07 1:49
Sherin Iranimose15-May-07 1:49 
GeneralRe: How To Pass Value From One Dialog To Another Pin
vivekphlp15-May-07 23:06
vivekphlp15-May-07 23:06 
AnswerRe: How To Pass Value From One Dialog To Another Pin
Arman S.15-May-07 1:58
Arman S.15-May-07 1:58 
Keep the text in a string variable [inside the child dialog]. Then inside the main dialog, get the string value when the child is closed. It might be smth like this;

// inside the main dialog calling function
CMySecondDlg dlg;
if (dlg.DoModal() == IDOK)
{
   CString text = dlg.m_strText;
}


If your second dialog is modeless, you should get the main dialog handler (GetParent or pass it directly) and do PostMessage inside the child dialog.

--
=====
Arman

AnswerRe: How To Pass Value From One Dialog To Another Pin
JimmyRopes15-May-07 3:59
professionalJimmyRopes15-May-07 3:59 
Questionfunction pointers Pin
Sonia Gupta15-May-07 1:17
Sonia Gupta15-May-07 1:17 
AnswerRe: function pointers Pin
Hamid_RT15-May-07 1:25
Hamid_RT15-May-07 1:25 
AnswerRe: function pointers Pin
CPallini15-May-07 1:37
mveCPallini15-May-07 1:37 
QuestionException code: c0000090 (FLT_INVALID_OPERATION) - I am in despair! Pin
Best Kiluyar15-May-07 0:25
Best Kiluyar15-May-07 0:25 
AnswerRe: Exception code: c0000090 (FLT_INVALID_OPERATION) - I am in despair! Pin
Arman S.15-May-07 2:09
Arman S.15-May-07 2:09 
QuestionAny File Encryption Pin
Genius Am Not15-May-07 0:21
Genius Am Not15-May-07 0:21 
AnswerRe: Any File Encryption Pin
Arman S.15-May-07 0:25
Arman S.15-May-07 0:25 
GeneralRe: Any File Encryption Pin
Genius Am Not15-May-07 0:35
Genius Am Not15-May-07 0:35 
GeneralRe: Any File Encryption Pin
Arman S.15-May-07 1:09
Arman S.15-May-07 1:09 
GeneralRe: Any File Encryption Pin
Genius Am Not15-May-07 1:17
Genius Am Not15-May-07 1:17 
GeneralRe: Any File Encryption Pin
Arman S.15-May-07 2:20
Arman S.15-May-07 2:20 
GeneralRe: Any File Encryption Pin
Genius Am Not20-May-07 22:52
Genius Am Not20-May-07 22:52 
QuestionTrack other processes in the computer Pin
kamalesh8214-May-07 23:58
kamalesh8214-May-07 23:58 
AnswerRe: Track other processes in the computer [modified] Pin
Arman S.15-May-07 0:10
Arman S.15-May-07 0:10 
AnswerRe: Track other processes in the computer Pin
AkiraOne15-May-07 0:15
AkiraOne15-May-07 0:15 
AnswerRe: Track other processes in the computer Pin
Hamid_RT15-May-07 0:58
Hamid_RT15-May-07 0:58 

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.