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

C / C++ / MFC

 
QuestionMemory Leak ??? Pin
Anonymous1-Dec-99 5:42
suss Anonymous1-Dec-99 5:42 
AnswerRE: Memory Leak ??? Pin
John M. Drescher5-Dec-99 4:51
John M. Drescher5-Dec-99 4:51 
Generalnetwork monitor 2.0 SDK Pin
Anonymous1-Dec-99 4:20
suss Anonymous1-Dec-99 4:20 
GeneralDB grid control problem Pin
shahzad30-Nov-99 5:30
shahzad30-Nov-99 5:30 
QuestionWhat do I get back from OLEFormatPtr::GetObject() ? Pin
postgress@hotmail.com30-Nov-99 3:47
susspostgress@hotmail.com30-Nov-99 3:47 
GeneralBeginer ques on programmng practice Pin
Anonymous30-Nov-99 3:31
suss Anonymous30-Nov-99 3:31 
GeneralRE: Beginer ques on programmng practice Pin
Jesse Ezell14-Dec-99 14:56
Jesse Ezell14-Dec-99 14:56 
GeneralRe: Beginer ques on programmng practice Pin
Tomb28-Jun-00 11:10
Tomb28-Jun-00 11:10 
My suggestion would be pass a reference to the object and let the Dialog interrogate the object directly for the data. Why pass n parameters when half the raison d'etre for the object is the encapsulation of this data? Pass a reference.

In fact, there are probably ways to display the data in a dialog in such a way (combined with a bright method or two in the CPerson object) such that you can change the internal data represented in the CPerson without having to modify the Dialog that displays it. One of the stratagems of the experienced programmer is to try to devise ways to insulate himself from changes in data structure within object classes - this tends to happen, and the less impact it has on code scattered across the project, the better.


QuestionHow to close the current program and starting another on exit Pin
Joep30-Nov-99 3:11
Joep30-Nov-99 3:11 
AnswerRE: How to close the current program and starting another on exit Pin
Henk Devos30-Nov-99 7:29
Henk Devos30-Nov-99 7:29 
GeneralRE: RE: How to close the current program and starting another on exit Pin
Joep Oude Veldhuis30-Nov-99 12:52
sussJoep Oude Veldhuis30-Nov-99 12:52 
QuestionHow to change the default value of a DAO field object Pin
Joep30-Nov-99 3:06
Joep30-Nov-99 3:06 
AnswerRE: How to change the default value of a DAO field object Pin
Anonymous3-Dec-99 3:18
suss Anonymous3-Dec-99 3:18 
GeneralPrint a dialog box! Pin
sandrine29-Nov-99 22:56
sandrine29-Nov-99 22:56 
GeneralRE: Print a dialog box! Pin
Henk Devos30-Nov-99 7:26
Henk Devos30-Nov-99 7:26 
GeneralRE: Trying to print with a CWinThread... Pin
Chris Maunder27-Nov-99 17:05
cofounderChris Maunder27-Nov-99 17:05 
GeneralShared Directory Pin
Thierry2-Dec-99 21:57
Thierry2-Dec-99 21:57 
GeneralRE: Shared Directory Pin
Serguei Velikevitch3-Dec-99 4:27
sussSerguei Velikevitch3-Dec-99 4:27 
GeneralRE: RE: Shared Directory Pin
Ghazi /Dundas3-Dec-99 5:14
sussGhazi /Dundas3-Dec-99 5:14 
GeneralRE: Shared Directory Pin
ac2713-Dec-99 8:26
sussac2713-Dec-99 8:26 
GeneralRE: RE: Shared Directory Pin
Anonymous3-Dec-99 8:31
suss Anonymous3-Dec-99 8:31 
GeneralRE: RE: Shared Directory Pin
Thierry6-Dec-99 19:48
Thierry6-Dec-99 19:48 
QuestionHow to get the caret's position in a richedit? Pin
Thömmi25-Nov-99 0:43
Thömmi25-Nov-99 0:43 
AnswerRE: How to get the caret's position in a richedit? Pin
Peter Zajac25-Nov-99 6:56
Peter Zajac25-Nov-99 6:56 
QuestionHow to get the caret's position in a richedit? Pin
Thömmi25-Nov-99 0:43
Thömmi25-Nov-99 0:43 

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.