Click here to Skip to main content
15,918,967 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Preselecting a Popup menu item Pin
Ravi Bhavnani25-Jun-02 11:29
professionalRavi Bhavnani25-Jun-02 11:29 
GeneralRe: Preselecting a Popup menu item Pin
Neville Franks25-Jun-02 11:58
Neville Franks25-Jun-02 11:58 
Generalsmiley Pin
24-Jun-02 14:28
suss24-Jun-02 14:28 
GeneralRe: smiley Pin
Nish Nishant24-Jun-02 15:13
sitebuilderNish Nishant24-Jun-02 15:13 
GeneralRe: smiley Pin
Christian Graus24-Jun-02 17:44
protectorChristian Graus24-Jun-02 17:44 
GeneralGetting Data from a Dialog in a an MDI Document Pin
Matt Fenwick24-Jun-02 11:22
Matt Fenwick24-Jun-02 11:22 
GeneralRe: Getting Data from a Dialog in a an MDI Document Pin
Donald Blachly24-Jun-02 12:26
Donald Blachly24-Jun-02 12:26 
GeneralRe: Getting Data from a Dialog in a an MDI Document Pin
Joaquín M López Muñoz24-Jun-02 12:34
Joaquín M López Muñoz24-Jun-02 12:34 
Well, if your dialog is modal (i.e. you launch it with DoModal,) things are simple. You already mapped the string to some member variable of the dialog (let's say it's called m_str.) Then, after DoModal, the value is just there for you to use:
void CYourView::OnSomeParticularEvent()
{
  CYourDlg dlg;
  if(dlg.DoModal()==IDOK){
    // use dlg.m_str (for instance, to store it in your
    // CDocument-derived class.)
  }
}
I hope I made myself clear enough. Good luck with your project.

Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
Generalctrl+alt+del Pin
slah24-Jun-02 10:18
slah24-Jun-02 10:18 
GeneralRe: ctrl+alt+del Pin
Scott H. Settlemier27-Jun-02 9:48
Scott H. Settlemier27-Jun-02 9:48 
GeneralCSocket in MFC Console app Pin
Sprudling24-Jun-02 9:02
Sprudling24-Jun-02 9:02 
GeneralRe: CSocket in MFC Console app Pin
Andres Manggini24-Jun-02 9:12
Andres Manggini24-Jun-02 9:12 
GeneralRe: CSocket in MFC Console app Pin
Sprudling24-Jun-02 10:30
Sprudling24-Jun-02 10:30 
GeneralRe: CSocket in MFC Console app Pin
Nish Nishant24-Jun-02 15:16
sitebuilderNish Nishant24-Jun-02 15:16 
GeneralRe: CSocket in MFC Console app Pin
24-Jun-02 17:52
suss24-Jun-02 17:52 
Generalsingle instance Pin
Anthony988724-Jun-02 8:48
Anthony988724-Jun-02 8:48 
GeneralRe: single instance Pin
Andres Manggini24-Jun-02 9:25
Andres Manggini24-Jun-02 9:25 
GeneralRe: single instance Pin
Dean Michaud24-Jun-02 10:09
Dean Michaud24-Jun-02 10:09 
GeneralRe: single instance Pin
PJ Arends24-Jun-02 16:06
professionalPJ Arends24-Jun-02 16:06 
GeneralRe: single instance Pin
25-Jun-02 7:12
suss25-Jun-02 7:12 
GeneralTreeView Control setting checked Pin
Mr. Bill24-Jun-02 8:32
Mr. Bill24-Jun-02 8:32 
GeneralRe: TreeView Control setting checked Pin
Mr. Bill24-Jun-02 9:11
Mr. Bill24-Jun-02 9:11 
GeneralRe: TreeView Control setting checked Pin
Steve L.24-Jun-02 10:01
Steve L.24-Jun-02 10:01 
GeneralRe: TreeView Control setting checked Pin
Anonymous24-Jul-02 23:57
Anonymous24-Jul-02 23:57 
GeneralTaskbar question... Pin
NodeX24-Jun-02 7:40
NodeX24-Jun-02 7:40 

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.