get a value from dialog box to dialog box?
-
Hi, I am using MFC with two dialog box. One dialog box have text box and submit button. once i type some text and submit this button, how to get values from another dialog box? any sample pls share Regards, M.Mathivanan
-
Hi, I am using MFC with two dialog box. One dialog box have text box and submit button. once i type some text and submit this button, how to get values from another dialog box? any sample pls share Regards, M.Mathivanan
If they are both modal dialogs then you need to run the first dialog, save the data after it completes, then run the seond and use the values from the first as required. Or did I misunderstand your question?
Just say 'NO' to evaluated arguments for diadic functions! Ash
-
Hi, I am using MFC with two dialog box. One dialog box have text box and submit button. once i type some text and submit this button, how to get values from another dialog box? any sample pls share Regards, M.Mathivanan
-
Hi, I am using MFC with two dialog box. One dialog box have text box and submit button. once i type some text and submit this button, how to get values from another dialog box? any sample pls share Regards, M.Mathivanan
There's a nice article written by toxcct, here at CodeProject: Dialogs Communication[^]. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
Hi, I am using MFC with two dialog box. One dialog box have text box and submit button. once i type some text and submit this button, how to get values from another dialog box? any sample pls share Regards, M.Mathivanan
Are the dialog boxes "peers" or "subordinates?" It's much the same either way, but it might help to clarify your question if you provided such details.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"Man who follows car will be exhausted." - Confucius