Click here to Skip to main content
15,910,358 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: C++ - Virtual Destructor Pin
Stuart Dootson13-Jan-10 23:27
professionalStuart Dootson13-Jan-10 23:27 
GeneralRe: C++ - Virtual Destructor Pin
davarun15-Jan-10 2:36
davarun15-Jan-10 2:36 
GeneralRe: C++ - Virtual Destructor Pin
Stuart Dootson15-Jan-10 2:58
professionalStuart Dootson15-Jan-10 2:58 
GeneralRe: C++ - Virtual Destructor Pin
davarun15-Jan-10 3:23
davarun15-Jan-10 3:23 
GeneralRe: C++ - Virtual Destructor Pin
Stuart Dootson15-Jan-10 3:38
professionalStuart Dootson15-Jan-10 3:38 
GeneralRe: C++ - Virtual Destructor Pin
davarun15-Jan-10 4:34
davarun15-Jan-10 4:34 
GeneralRe: C++ - Virtual Destructor Pin
Stuart Dootson15-Jan-10 4:44
professionalStuart Dootson15-Jan-10 4:44 
QuestionVC++ 2008 MFC Pin
2buck5613-Jan-10 14:03
2buck5613-Jan-10 14: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 16:25
professionalChris Losinger13-Jan-10 16:25 
GeneralRe: VC++ 2008 MFC Pin
2buck5613-Jan-10 17:51
2buck5613-Jan-10 17:51 
GeneralRe: VC++ 2008 MFC Pin
Chris Losinger13-Jan-10 18:18
professionalChris Losinger13-Jan-10 18:18 
AnswerRe: VC++ 2008 MFC Pin
Rajesh R Subramanian13-Jan-10 17:56
professionalRajesh R Subramanian13-Jan-10 17:56 
AnswerRe: VC++ 2008 MFC PinPopular
Joe Woodbury13-Jan-10 20:15
professionalJoe Woodbury13-Jan-10 20:15 
GeneralRe: VC++ 2008 MFC Pin
2buck5614-Jan-10 3:03
2buck5614-Jan-10 3:03 
QuestionHow can I get Operating System Info? Pin
Software200713-Jan-10 8:36
Software200713-Jan-10 8:36 
AnswerRe: How can I get Operating System Info? Pin
Richard MacCutchan13-Jan-10 8:55
mveRichard MacCutchan13-Jan-10 8:55 
GeneralOT Pin
CPallini13-Jan-10 9:10
mveCPallini13-Jan-10 9:10 
GeneralRe: OT Pin
Richard MacCutchan13-Jan-10 9:25
mveRichard MacCutchan13-Jan-10 9:25 
JokeRe: OT Pin
CPallini13-Jan-10 9:36
mveCPallini13-Jan-10 9:36 
AnswerRe: How can I get Operating System Info? Pin
Software200713-Jan-10 9:08
Software200713-Jan-10 9:08 
QuestionI need an ebay program Pin
totolcm13-Jan-10 2:20
totolcm13-Jan-10 2:20 
AnswerPlease no advertising on this forum. Pin
CPallini13-Jan-10 2:59
mveCPallini13-Jan-10 2:59 
AnswerRe: I need an ebay program Pin
Code-o-mat13-Jan-10 3:12
Code-o-mat13-Jan-10 3:12 
AnswerRe: I need an ebay program Pin
David Crow13-Jan-10 3:22
David Crow13-Jan-10 3:22 
GeneralRe: I need an ebay program Pin
Chris Losinger13-Jan-10 6:54
professionalChris Losinger13-Jan-10 6: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.