Click here to Skip to main content
15,914,066 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CString::Format - Debug vs Release Pin
Dustin Henry15-Dec-06 4:15
Dustin Henry15-Dec-06 4:15 
GeneralRe: CString::Format - Debug vs Release Pin
kakan15-Dec-06 4:20
professionalkakan15-Dec-06 4:20 
QuestionRe: CString::Format - Debug vs Release Pin
CPallini15-Dec-06 4:13
mveCPallini15-Dec-06 4:13 
AnswerRe: CString::Format - Debug vs Release Pin
Dustin Henry15-Dec-06 4:16
Dustin Henry15-Dec-06 4:16 
AnswerRe: CString::Format - Debug vs Release Pin
Mike O'Neill15-Dec-06 10:45
Mike O'Neill15-Dec-06 10:45 
GeneralRe: CString::Format - Debug vs Release Pin
d34studios16-Dec-06 4:27
d34studios16-Dec-06 4:27 
Questionhow to keep data persistance into controls? Pin
Arris7415-Dec-06 4:01
Arris7415-Dec-06 4:01 
AnswerRe: how to keep data persistance into controls? Pin
Chris Losinger15-Dec-06 4:19
professionalChris Losinger15-Dec-06 4:19 
before you call DoModal on the dialog, set the member variables (the ones that are tied to the controls) to the values you want the controls to show.

99% of all the dialogs i've ever done end up being launched like this:
CMyDialog foo;
// set values into the dialog
foo.m_intMember1 = someValue1;
foo.m_intMember2 = someValue2;
if (foo.DoModal()==IDOK)
{
  // if the user pressed OK, copy the values out of the dialog
  someValue1 = foo.m_intMember1;
  someValue2 = foo.m_intMember2;
}



GeneralRe: how to keep data persistance into controls? Pin
Arris7417-Dec-06 22:07
Arris7417-Dec-06 22:07 
AnswerRe: how to keep data persistance into controls? Pin
Hamid_RT15-Dec-06 18:19
Hamid_RT15-Dec-06 18:19 
GeneralRe: how to keep data persistance into controls? Pin
Arris7417-Dec-06 22:09
Arris7417-Dec-06 22:09 
GeneralRe: how to keep data persistance into controls? Pin
Hamid_RT17-Dec-06 23:45
Hamid_RT17-Dec-06 23:45 
GeneralRe: how to keep data persistance into controls? Pin
Arris7418-Dec-06 2:30
Arris7418-Dec-06 2:30 
GeneralRe: how to keep data persistance into controls? Pin
Hamid_RT18-Dec-06 6:40
Hamid_RT18-Dec-06 6:40 
Questionlaunch iexplore from a win32 appl Pin
fakeplastictree9515-Dec-06 3:35
fakeplastictree9515-Dec-06 3:35 
AnswerRe: launch iexplore from a win32 appl Pin
David Crow15-Dec-06 3:46
David Crow15-Dec-06 3:46 
GeneralRe: launch iexplore from a win32 appl Pin
Rage15-Dec-06 3:57
professionalRage15-Dec-06 3:57 
GeneralRe: launch iexplore from a win32 appl Pin
David Crow15-Dec-06 4:00
David Crow15-Dec-06 4:00 
GeneralRe: launch iexplore from a win32 appl Pin
fakeplastictree9515-Dec-06 7:31
fakeplastictree9515-Dec-06 7:31 
AnswerRe: launch iexplore from a win32 appl Pin
Rage15-Dec-06 3:54
professionalRage15-Dec-06 3:54 
AnswerRe: launch iexplore from a win32 appl Pin
Michael Dunn15-Dec-06 11:54
sitebuilderMichael Dunn15-Dec-06 11:54 
QuestionReturning CArray Pin
RockyJames15-Dec-06 3:22
RockyJames15-Dec-06 3:22 
AnswerRe: Returning CArray Pin
David Crow15-Dec-06 3:35
David Crow15-Dec-06 3:35 
QuestionAccessing variables and functions from another dialog Pin
69 Bay15-Dec-06 3:03
69 Bay15-Dec-06 3:03 
AnswerRe: Accessing variables and functions from another dialog Pin
Hamid_RT15-Dec-06 3:12
Hamid_RT15-Dec-06 3:12 

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.