Click here to Skip to main content
15,847,549 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: C++ - Virtual Destructor Pin
Stuart Dootson14-Jan-10 0:27
professionalStuart Dootson14-Jan-10 0:27 
GeneralRe: C++ - Virtual Destructor Pin
davarun15-Jan-10 3:36
davarun15-Jan-10 3:36 
GeneralRe: C++ - Virtual Destructor Pin
Stuart Dootson15-Jan-10 3:58
professionalStuart Dootson15-Jan-10 3:58 
GeneralRe: C++ - Virtual Destructor Pin
davarun15-Jan-10 4:23
davarun15-Jan-10 4:23 
GeneralRe: C++ - Virtual Destructor Pin
Stuart Dootson15-Jan-10 4:38
professionalStuart Dootson15-Jan-10 4:38 
GeneralRe: C++ - Virtual Destructor Pin
davarun15-Jan-10 5:34
davarun15-Jan-10 5:34 
GeneralRe: C++ - Virtual Destructor Pin
Stuart Dootson15-Jan-10 5:44
professionalStuart Dootson15-Jan-10 5:44 
QuestionVC++ 2008 MFC Pin
2buck5613-Jan-10 15:03
2buck5613-Jan-10 15:03 
After using VC6++ for years I just purchased VS2008. It is radically different and I am quite confused. Is there a good tutorial or book that will teach me how to use MFC for this version. I don't want to use any of the managed code stuff or C#. I want to be able to do the things that were simple in VC6++.

For instance, put "This is a test in a ListBox". That was simple with VC6 and MFC. Four hours into VC++ 2008 and I haven't been able to get that to happen. In VC6 you could add a CString variable to a ListBox. There is no CString ListBox variable option for VC++ 2008.

Also, Class Wizard in VC6 allowed me to see any variable that had been assingned to a control. And Class View also allowed me to see all the variables that had been created for the project. Apparently neither one of the options are available in VC++ 2008. Class View doesn't show any control variables. In fact it doesn't show much of anything. And since I can't see the variables there appears to be no way to delete one once it is assigned to a control.

I do see the variables listed here:
CHIDTest2008Dlg::CHIDTest2008Dlg(CWnd* pParent /*=NULL*/)
: CDialog(CHIDTest2008Dlg::IDD, pParent)
, m_strText(0)
, m_ListBox(0)
, strListBox(_T(""))
, m_strListBox2(0)
{
m_hIcon = AfxGetApp()->LoadIcon(IDR_MAINFRAME);
}

But that is really of no use. And the online help is not much help. Am I missing something basic here or is this the way the environment really works. Was Microsoft trying to move everyone to managed code or C#?

Again, if anyone has a recommendation for a good book that only covers the MFC part of VS2008 I would appreciate them passing that along.Mad | :mad:
AnswerRe: VC++ 2008 MFC Pin
Chris Losinger13-Jan-10 17:25
professionalChris Losinger13-Jan-10 17:25 
GeneralRe: VC++ 2008 MFC Pin
2buck5613-Jan-10 18:51
2buck5613-Jan-10 18:51 
GeneralRe: VC++ 2008 MFC Pin
Chris Losinger13-Jan-10 19:18
professionalChris Losinger13-Jan-10 19:18 
AnswerRe: VC++ 2008 MFC Pin
Rajesh R Subramanian13-Jan-10 18:56
professionalRajesh R Subramanian13-Jan-10 18:56 
AnswerRe: VC++ 2008 MFC Pin
Joe Woodbury13-Jan-10 21:15
professionalJoe Woodbury13-Jan-10 21:15 
GeneralRe: VC++ 2008 MFC Pin
2buck5614-Jan-10 4:03
2buck5614-Jan-10 4:03 
QuestionHow can I get Operating System Info? Pin
Software200713-Jan-10 9:36
Software200713-Jan-10 9:36 
AnswerRe: How can I get Operating System Info? Pin
Richard MacCutchan13-Jan-10 9:55
mveRichard MacCutchan13-Jan-10 9:55 
GeneralOT Pin
CPallini13-Jan-10 10:10
mveCPallini13-Jan-10 10:10 
GeneralRe: OT Pin
Richard MacCutchan13-Jan-10 10:25
mveRichard MacCutchan13-Jan-10 10:25 
JokeRe: OT Pin
CPallini13-Jan-10 10:36
mveCPallini13-Jan-10 10:36 
AnswerRe: How can I get Operating System Info? Pin
Software200713-Jan-10 10:08
Software200713-Jan-10 10:08 
QuestionI need an ebay program Pin
totolcm13-Jan-10 3:20
totolcm13-Jan-10 3:20 
AnswerPlease no advertising on this forum. Pin
CPallini13-Jan-10 3:59
mveCPallini13-Jan-10 3:59 
AnswerRe: I need an ebay program Pin
Code-o-mat13-Jan-10 4:12
Code-o-mat13-Jan-10 4:12 
AnswerRe: I need an ebay program Pin
David Crow13-Jan-10 4:22
David Crow13-Jan-10 4:22 
GeneralRe: I need an ebay program Pin
Chris Losinger13-Jan-10 7:54
professionalChris Losinger13-Jan-10 7:54 

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.