nhcuong
asked on
VC++ excercise
I have to write a excerice by VC++ to solve this problem :
When build houses, people want to know the quality of soil where the
houses will be there. A method is drill some holes into the soil, then
research the data of the holes.
My program should have a dialog that cointain a list box, an edit box,
some buttons ( OK, Cancel, Add, Edit). Engineers can input the name of
a hole by edit box, press Add the the string of the hole is displayed in
the list box. They can choose one hole from the list box, press Edit, then
the second dialog is diaplayed, after that they can put new data or
edit old data of the hole which they chose. At last they press button
Save in the second dialog, all data is saved in a file.
I'm a biginner in VC++ so I wonder how to make clear the ralations
between the dialog controls and buttons. I also wonder how to
save the data by VC++ in this case.
Could you help me some suggesions ? (program is better, I need
it very much to learn)
Thanks
When build houses, people want to know the quality of soil where the
houses will be there. A method is drill some holes into the soil, then
research the data of the holes.
My program should have a dialog that cointain a list box, an edit box,
some buttons ( OK, Cancel, Add, Edit). Engineers can input the name of
a hole by edit box, press Add the the string of the hole is displayed in
the list box. They can choose one hole from the list box, press Edit, then
the second dialog is diaplayed, after that they can put new data or
edit old data of the hole which they chose. At last they press button
Save in the second dialog, all data is saved in a file.
I'm a biginner in VC++ so I wonder how to make clear the ralations
between the dialog controls and buttons. I also wonder how to
save the data by VC++ in this case.
Could you help me some suggesions ? (program is better, I need
it very much to learn)
Thanks
ASKER
Kinkajou,
Could you send me soon !
My address:
nhcuong@iib.bauing.tu-darm stadt.de
Could you send me soon !
My address:
nhcuong@iib.bauing.tu-darm
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I've just read your program. I've not understood all yet
but I think it will be useful for me.
Thanks and see you again !
but I think it will be useful for me.
Thanks and see you again !
I have a program that is very similar to the program you specify above that uses MFC/MSVC++ 5.0 that you could use to learn how to get data from a user activated dialog into the rest of you program.
You may want to see if anyone else comments on where you might find this sort of example on the Web, though.
Kinkajou