Click here to Skip to main content
15,887,302 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCursor Issues Pin
#realJSOP22-Feb-06 11:07
mve#realJSOP22-Feb-06 11:07 
AnswerRe: Cursor Issues Pin
Ryan Binns22-Feb-06 17:19
Ryan Binns22-Feb-06 17:19 
GeneralRe: Cursor Issues Pin
#realJSOP23-Feb-06 2:20
mve#realJSOP23-Feb-06 2:20 
QuestionSetupDiRemoveDevice() Pin
Manu_8122-Feb-06 10:31
Manu_8122-Feb-06 10:31 
QuestionDisable Task Manager from MFC Pin
JBAK_CP22-Feb-06 10:30
JBAK_CP22-Feb-06 10:30 
AnswerRe: Disable Task Manager from MFC Pin
super22-Feb-06 12:04
professionalsuper22-Feb-06 12:04 
GeneralRe: Disable Task Manager from MFC Pin
JBAK_CP24-Feb-06 12:26
JBAK_CP24-Feb-06 12:26 
QuestionAll member variables contain same value Pin
BuckBrown22-Feb-06 8:44
BuckBrown22-Feb-06 8:44 
Confused | :confused: I am using Visual C++ 6.0. I have an MFC Dialog based application. I have an class derived from CDialog called CIntrument that has edit controls. Each edit control has a unique IDD_EDIT identifier and have unique variables defined as Value CString. In a different CDialog box I instantiate an object of type 'CInstrument Inst'. I then use fscanf() to read text from a file into the member variables Inst.m_var_a, Inst.m_var_b, Inst.m_var_c and others. As each item of text is read ALL the member variables change to the value that was just read. I have verified this while stepping through the code one line at a time. I am very confused as to why variables with completely different names would be modified in this fashion.

Thanks

Buck
AnswerRe: All member variables contain same value Pin
Joe Woodbury22-Feb-06 9:22
professionalJoe Woodbury22-Feb-06 9:22 
GeneralRe: All member variables contain same value Pin
BuckBrown22-Feb-06 10:55
BuckBrown22-Feb-06 10:55 
GeneralRe: All member variables contain same value Pin
Joe Woodbury22-Feb-06 11:00
professionalJoe Woodbury22-Feb-06 11:00 
GeneralRe: All member variables contain same value Pin
BuckBrown22-Feb-06 11:06
BuckBrown22-Feb-06 11:06 
GeneralRe: All member variables contain same value Pin
Joe Woodbury22-Feb-06 11:14
professionalJoe Woodbury22-Feb-06 11:14 
GeneralRe: All member variables contain same value Pin
BuckBrown22-Feb-06 12:59
BuckBrown22-Feb-06 12:59 
GeneralRe: All member variables contain same value Pin
Blake Miller23-Feb-06 4:53
Blake Miller23-Feb-06 4:53 
AnswerRe: All member variables contain same value Pin
carks22-Feb-06 9:23
carks22-Feb-06 9:23 
GeneralRe: All member variables contain same value Pin
BuckBrown22-Feb-06 11:04
BuckBrown22-Feb-06 11:04 
QuestionRe: All member variables contain same value Pin
David Crow22-Feb-06 9:37
David Crow22-Feb-06 9:37 
AnswerRe: All member variables contain same value Pin
BuckBrown22-Feb-06 11:05
BuckBrown22-Feb-06 11:05 
GeneralRe: All member variables contain same value Pin
David Crow23-Feb-06 2:29
David Crow23-Feb-06 2:29 
Questionlist view / how do i get a list of all selected items? Pin
Sebastian Pipping22-Feb-06 7:09
Sebastian Pipping22-Feb-06 7:09 
AnswerRe: list view / how do i get a list of all selected items? Pin
James R. Twine22-Feb-06 7:27
James R. Twine22-Feb-06 7:27 
GeneralRe: list view / how do i get a list of all selected items? Pin
Sebastian Pipping22-Feb-06 7:57
Sebastian Pipping22-Feb-06 7:57 
AnswerRe: list view / how do i get a list of all selected items? Pin
David Crow22-Feb-06 7:38
David Crow22-Feb-06 7:38 
GeneralRe: list view / how do i get a list of all selected items? Pin
Sebastian Pipping22-Feb-06 8:04
Sebastian Pipping22-Feb-06 8:04 

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.