a real beginner in Visual C++.net - Q about dialog problem
Hey everybody! :)
I'm new in here, and I just started with visual C++.net .
I don't really have much of experience with C/C++ so go easy on me, okay? thanks! :-)
just a little question, (btw, I wrote everything in the MFC Classes)
I created a dialog box (CDialog), and over there I created a button that opens a new dialog that I created (CNewDialog).
evertything works fine, and all the stuff that I work that these dialogs should do is working great, but the thing is that after I compile the project and I click on the button to open CNewDialog, the Dialog looks weird...!
I draw the dialog normally, and in visual it looks great, but when I run it, it has on the background that "TODO:....." static message, and the OK and Cancel buttons, just like the default dialog when you create a new project.
I really don't understand why it happens, or how to get rid of this! PLEASE HELP!!!
And the really bad news...
Windows programming is not for beginners. :( MFC is supposed to make it "easy", but you should really know the basics of C++ first.
Are you working from a book? Does the book say what you need to know to get started? There is at least one book "out there" that takes you from ground-zero to Windows... I don't own it, and I can't think of the title right now. Also, I don't know if that book teaches MFC or WinAPI.*
It's no fun making DOS-like text-based programs, but you're probably going to be lost if you don't get comfortable with standard C++ first. If you were taking a Windows programming class, one semester (or two) of C++ would probably be a prerequisite. :(
The book is Beginning Visual C++, by Ivor Horton. He does use MFC.