Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: What is the use of ".rc2" file in MFC. Pin
KarstenK23-Feb-10 21:37
mveKarstenK23-Feb-10 21:37 
QuestionHow to Create user defined constructor for dialog class. Pin
Abhijit D. Babar23-Feb-10 21:01
Abhijit D. Babar23-Feb-10 21:01 
AnswerRe: How to Create user defined constructor for dialog class. Pin
Rajesh R Subramanian23-Feb-10 21:06
professionalRajesh R Subramanian23-Feb-10 21:06 
GeneralRe: How to Create user defined constructor for dialog class. Pin
Abhijit D. Babar23-Feb-10 21:14
Abhijit D. Babar23-Feb-10 21:14 
GeneralRe: How to Create user defined constructor for dialog class. Pin
Rajesh R Subramanian23-Feb-10 21:18
professionalRajesh R Subramanian23-Feb-10 21:18 
AnswerRe: How to Create user defined constructor for dialog class. Pin
CPallini23-Feb-10 21:12
mveCPallini23-Feb-10 21:12 
AnswerRe: How to Create user defined constructor for dialog class. Pin
Nelek23-Feb-10 21:19
protectorNelek23-Feb-10 21:19 
GeneralRe: How to Create user defined constructor for dialog class. Pin
CPallini23-Feb-10 21:25
mveCPallini23-Feb-10 21:25 
Nelek wrote:
I would use Set/Get methodes to pass parameters, because if you overload the constructor parameters, it may be that the MFC (if you use it) gives you problems if you have an error overloading the constructor. After just use the contructor to initialize the member variables/pointers

Well, it looks to me a super-defensive approach.

[added]
Actually, I suppose I didn't get you. You are right, error handling in class constructor is troublesome. Thumbs Up | :thumbsup:
[/added]
Smile | :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.

This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke

[My articles]

GeneralRe: How to Create user defined constructor for dialog class. Pin
Nelek23-Feb-10 21:35
protectorNelek23-Feb-10 21:35 
QuestionWhat is the datatype for "this" pointer in C++ Pin
Abhijit D. Babar23-Feb-10 20:34
Abhijit D. Babar23-Feb-10 20:34 
AnswerRe: What is the datatype for "this" pointer in C++ Pin
Saurabh.Garg23-Feb-10 20:48
Saurabh.Garg23-Feb-10 20:48 
GeneralRe: What is the datatype for "this" pointer in C++ Pin
Avi Berger23-Feb-10 21:52
Avi Berger23-Feb-10 21:52 
GeneralRe: What is the datatype for "this" pointer in C++ Pin
Saurabh.Garg23-Feb-10 22:32
Saurabh.Garg23-Feb-10 22:32 
GeneralRe: What is the datatype for "this" pointer in C++ Pin
Richard MacCutchan24-Feb-10 1:12
mveRichard MacCutchan24-Feb-10 1:12 
GeneralRe: What is the datatype for "this" pointer in C++ Pin
Avi Berger24-Feb-10 4:57
Avi Berger24-Feb-10 4:57 
GeneralRe: What is the datatype for "this" pointer in C++ Pin
Richard MacCutchan24-Feb-10 7:34
mveRichard MacCutchan24-Feb-10 7:34 
GeneralRe: What is the datatype for "this" pointer in C++ Pin
Avi Berger25-Feb-10 5:58
Avi Berger25-Feb-10 5:58 
AnswerRe: What is the datatype for "this" pointer in C++ Pin
Cedric Moonen23-Feb-10 20:50
Cedric Moonen23-Feb-10 20:50 
AnswerRe: What is the datatype for "this" pointer in C++ Pin
CPallini23-Feb-10 21:05
mveCPallini23-Feb-10 21:05 
AnswerRe: What is the datatype for "this" pointer in C++ Pin
Emilio Garavaglia23-Feb-10 21:14
Emilio Garavaglia23-Feb-10 21:14 
AnswerRe: What is the datatype for "this" pointer in C++ Pin
Avi Berger23-Feb-10 21:31
Avi Berger23-Feb-10 21:31 
QuestionRe: What is the datatype for "this" pointer in C++ Pin
Avi Berger24-Feb-10 5:03
Avi Berger24-Feb-10 5:03 
AnswerRe: What is the datatype for "this" pointer in C++ Pin
KingsGambit23-Feb-10 22:43
KingsGambit23-Feb-10 22:43 
Questionasynchronouse thread function Pin
hrishi32123-Feb-10 18:14
hrishi32123-Feb-10 18:14 
AnswerRe: asynchronouse thread function Pin
CPallini23-Feb-10 20:30
mveCPallini23-Feb-10 20:30 

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.