Click here to Skip to main content
15,920,896 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Disk Info Pin
David Crow10-Jul-08 7:35
David Crow10-Jul-08 7:35 
QuestionHow do I load asociated file in application from windows explorer???? Pin
AlmodJ10-Jul-08 5:48
AlmodJ10-Jul-08 5:48 
AnswerRe: How do I load asociated file in application from windows explorer???? Pin
Rajesh R Subramanian10-Jul-08 6:07
professionalRajesh R Subramanian10-Jul-08 6:07 
AnswerRe: How do I load asociated file in application from windows explorer???? Pin
AlmodJ10-Jul-08 7:18
AlmodJ10-Jul-08 7:18 
GeneralRe: How do I load asociated file in application from windows explorer???? Pin
Mark Salsbery10-Jul-08 7:27
Mark Salsbery10-Jul-08 7:27 
GeneralRe: How do I load asociated file in application from windows explorer???? Pin
AlmodJ10-Jul-08 8:46
AlmodJ10-Jul-08 8:46 
AnswerRe: How do I load asociated file in application from windows explorer???? Pin
CPallini10-Jul-08 6:55
mveCPallini10-Jul-08 6:55 
GeneralRe: How do I load asociated file in application from windows explorer???? Pin
Rajesh R Subramanian10-Jul-08 19:44
professionalRajesh R Subramanian10-Jul-08 19:44 
GeneralRe: How do I load asociated file in application from windows explorer???? Pin
CPallini10-Jul-08 21:05
mveCPallini10-Jul-08 21:05 
AnswerRe: How do I load asociated file in application from windows explorer???? Pin
Mark Salsbery10-Jul-08 6:58
Mark Salsbery10-Jul-08 6:58 
AnswerRe: How do I load asociated file in application from windows explorer???? Pin
enhzflep10-Jul-08 20:19
enhzflep10-Jul-08 20:19 
QuestionPropertySheet 'Finish' Button Pin
softwaremonkey10-Jul-08 4:28
softwaremonkey10-Jul-08 4:28 
AnswerRe: PropertySheet 'Finish' Button Pin
Graham Bradshaw10-Jul-08 4:46
Graham Bradshaw10-Jul-08 4:46 
GeneralRe: PropertySheet 'Finish' Button Pin
softwaremonkey10-Jul-08 4:54
softwaremonkey10-Jul-08 4:54 
GeneralRe: PropertySheet 'Finish' Button Pin
Graham Bradshaw10-Jul-08 5:36
Graham Bradshaw10-Jul-08 5:36 
GeneralRe: PropertySheet 'Finish' Button [modified] Pin
softwaremonkey10-Jul-08 5:50
softwaremonkey10-Jul-08 5:50 
GeneralRe: PropertySheet 'Finish' Button Pin
Graham Bradshaw10-Jul-08 5:58
Graham Bradshaw10-Jul-08 5:58 
GeneralRe: PropertySheet 'Finish' Button Pin
Graham Bradshaw10-Jul-08 5:59
Graham Bradshaw10-Jul-08 5:59 
GeneralRe: PropertySheet 'Finish' Button Pin
softwaremonkey10-Jul-08 6:04
softwaremonkey10-Jul-08 6:04 
QuestionTransfering String from View Class to other class. Pin
Cozmo2310-Jul-08 4:24
Cozmo2310-Jul-08 4:24 
AnswerRe: Transfering String from View Class to other class. Pin
led mike10-Jul-08 4:33
led mike10-Jul-08 4:33 
AnswerRe: Transfering String from View Class to other class. Pin
softwaremonkey10-Jul-08 5:01
softwaremonkey10-Jul-08 5:01 
GeneralRe: Transfering String from View Class to other class. Pin
Cozmo2310-Jul-08 10:03
Cozmo2310-Jul-08 10:03 
GeneralRe: Transfering String from View Class to other class. Pin
softwaremonkey10-Jul-08 10:20
softwaremonkey10-Jul-08 10:20 
Hmm, there are a few ways of doing this. I think I would create a pointer to your other class as a member of the dialog. You can then freely read and write data from/to your class from the dialog. When you create the dialog you would assign the pointer to the object you want to pass data to, then in your dialog, you could override OnOK to assign the newly entered values using the pointer...

CMyDialog dlg;

dlg.m_ptrToMyOtherClass = &myOtherObject;
dlg.DoModal();

CMyDialog::OnOK()
{
   // Copy values from dialog into your other class.
   UpdateData(TRUE);
    m_ptrToMyOtherClass->m_Title = m_Title;
   m_ptrToMyOtherClass->m_classMember = m_dialogClassMember;
  CDialog::OnOK();
}

I dont know if this helps.

Tony
QuestionProblem with InvokeHelper method in CWnd class Pin
hari_honey10-Jul-08 2:43
hari_honey10-Jul-08 2:43 

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.