Click here to Skip to main content
15,905,232 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Yow can I serialize Color object (GDI+) Pin
NiceNaidu7-Jul-06 21:52
NiceNaidu7-Jul-06 21:52 
QuestionHow do you go about making a custom control? [modified] Pin
Lord Kixdemp7-Jul-06 19:27
Lord Kixdemp7-Jul-06 19:27 
AnswerRe: How do you go about making a custom control? Pin
NiceNaidu7-Jul-06 21:32
NiceNaidu7-Jul-06 21:32 
GeneralRe: How do you go about making a custom control? Pin
Lord Kixdemp8-Jul-06 13:12
Lord Kixdemp8-Jul-06 13:12 
Questionstack simulation [modified] Pin
trinh_van7-Jul-06 18:00
trinh_van7-Jul-06 18:00 
QuestionArray/CListBox Issue Pin
SySt7-Jul-06 17:07
SySt7-Jul-06 17:07 
AnswerRe: Array/CListBox Issue Pin
Steve Echols7-Jul-06 20:38
Steve Echols7-Jul-06 20:38 
GeneralRe: Array/CListBox Issue Pin
SySt8-Jul-06 1:31
SySt8-Jul-06 1:31 
No, that 5 is usually an "n". What I mean by changing that peice of code is that this:
m_strModelFileName = g_CarInfo.Graphics.pModel[5].strFileName;
puts the filename stored in the index "5" of the pModel arrray into the editbox. 5 is just an example, any valid index of the array works just the same.
The weird thing is that if I put the code like this:
m_strModelFileName = g_CarInfo.Graphics.pModel[n].strFileName;
"n" being the integer retrieved from CListBox::GetCurSel(). No matter what number "n" comes out to be the data from the array does not display in the editbox. If "n" turns out to be "5", then are the two lines of code not identical? They appareantly do not give the same result.
QuestionCTabCtrl with CFormViews instead of CDialogs Pin
Tygernoot7-Jul-06 14:00
Tygernoot7-Jul-06 14:00 
Questionproblem selecting listview item Pin
method0077-Jul-06 11:22
method0077-Jul-06 11:22 
Questionstrange prototype [modified] Pin
Jay037-Jul-06 11:08
Jay037-Jul-06 11:08 
AnswerRe: strange prototype Pin
Steve Echols7-Jul-06 11:19
Steve Echols7-Jul-06 11:19 
QuestionSir , I am in need of math library. Pin
CodeVarma7-Jul-06 9:07
CodeVarma7-Jul-06 9:07 
AnswerRe: Sir , I am in need of math library. Pin
earl7-Jul-06 11:27
earl7-Jul-06 11:27 
AnswerRe: Sir , I am in need of math library. Pin
ThatsAlok9-Jul-06 22:00
ThatsAlok9-Jul-06 22:00 
QuestionSerialize CListCtrl Pin
DanYELL7-Jul-06 8:44
DanYELL7-Jul-06 8:44 
AnswerRe: Serialize CListCtrl Pin
Ravi Bhavnani7-Jul-06 8:46
professionalRavi Bhavnani7-Jul-06 8:46 
QuestionFormating of Date in class CTime? Pin
G Haranadh7-Jul-06 8:38
G Haranadh7-Jul-06 8:38 
AnswerRe: Formating of Date in class CTime? Pin
Ravi Bhavnani7-Jul-06 8:45
professionalRavi Bhavnani7-Jul-06 8:45 
AnswerRe: Formating of Date in class CTime? Pin
ThatsAlok9-Jul-06 20:58
ThatsAlok9-Jul-06 20:58 
QuestionControlling the volume' sound in DirectX Pin
Alex Cutovoi7-Jul-06 6:41
Alex Cutovoi7-Jul-06 6:41 
AnswerRe: Controlling the volume' sound in DirectX Pin
Justin Tay7-Jul-06 6:49
Justin Tay7-Jul-06 6:49 
GeneralRe: Controlling the volume' sound in DirectX Pin
Alex Cutovoi7-Jul-06 8:23
Alex Cutovoi7-Jul-06 8:23 
Questionhelp coloring individual listview item instead of all listview item in visual c++ [modified] Pin
method0077-Jul-06 6:16
method0077-Jul-06 6:16 
AnswerRe: help coloring individual listview item instead of all listview item in visual c++ Pin
Justin Tay7-Jul-06 6:20
Justin Tay7-Jul-06 6:20 

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.