Click here to Skip to main content
15,927,946 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CBitmap CreateBitmapIndirect() fails Pin
Jijo.Raj20-Dec-08 15:33
Jijo.Raj20-Dec-08 15:33 
AnswerRe: CBitmap CreateBitmapIndirect() fails Pin
Mark Salsbery21-Dec-08 5:24
Mark Salsbery21-Dec-08 5:24 
GeneralRe: CBitmap CreateBitmapIndirect() fails Pin
Vaclav_21-Dec-08 6:06
Vaclav_21-Dec-08 6:06 
GeneralRe: CBitmap CreateBitmapIndirect() fails Pin
Mark Salsbery22-Dec-08 6:46
Mark Salsbery22-Dec-08 6:46 
QuestionC2244 and inheritance error Pin
mjackson1120-Dec-08 10:01
mjackson1120-Dec-08 10:01 
AnswerRe: C2244 and inheritance error Pin
Stuart Dootson20-Dec-08 10:24
professionalStuart Dootson20-Dec-08 10:24 
GeneralRe: C2244 and inheritance error Pin
mjackson1120-Dec-08 10:45
mjackson1120-Dec-08 10:45 
GeneralRe: C2244 and inheritance error Pin
Stuart Dootson20-Dec-08 13:02
professionalStuart Dootson20-Dec-08 13:02 
mjackson11 wrote:
If I define setID in the derived class declaration, when I implement it, it does not call the base class setID method. Seems like the compiler is defining them as two different methods instead of the derived class inhereting.


Yep, that's the way most (if not all) OO languages work. The point is that if you do want to call the base classes method, you can very easily. However, if the language automatically called the base classes methods and you didn't want that to happen, you're stuffed.

Anyway - in conclusion, what you've described is the way C++ is meant to work.
GeneralRe: C2244 and inheritance error Pin
Stuart Dootson21-Dec-08 0:04
professionalStuart Dootson21-Dec-08 0:04 
GeneralRe: C2244 and inheritance error Pin
mjackson1121-Dec-08 5:41
mjackson1121-Dec-08 5:41 
GeneralRe: C2244 and inheritance error Pin
Mark Salsbery21-Dec-08 5:29
Mark Salsbery21-Dec-08 5:29 
QuestionmciSendString problem Pin
CS92520-Dec-08 8:51
CS92520-Dec-08 8:51 
AnswerRe: mciSendString problem Pin
L. Madhavan20-Dec-08 18:44
L. Madhavan20-Dec-08 18:44 
GeneralRe: mciSendString problem Pin
CS92521-Dec-08 5:45
CS92521-Dec-08 5:45 
Questionerror with Coin3d & AMD. Pin
saagh20-Dec-08 4:09
saagh20-Dec-08 4:09 
AnswerRe: error with Coin3d & AMD. Pin
Randor 20-Dec-08 9:36
professional Randor 20-Dec-08 9:36 
GeneralRe: error with Coin3d & AMD. Pin
saagh20-Dec-08 19:56
saagh20-Dec-08 19:56 
QuestionLogging stopped after CFileDialog::DoModal() invoking Pin
Igor IP20-Dec-08 2:48
professionalIgor IP20-Dec-08 2:48 
AnswerRe: Logging stopped after CFileDialog::DoModal() invoking Pin
Jijo.Raj20-Dec-08 3:06
Jijo.Raj20-Dec-08 3:06 
GeneralRe: Logging stopped after CFileDialog::DoModal() invoking Pin
Igor IP20-Dec-08 6:08
professionalIgor IP20-Dec-08 6:08 
QuestionRe: Logging stopped after CFileDialog::DoModal() invoking Pin
David Crow20-Dec-08 6:33
David Crow20-Dec-08 6:33 
GeneralRe: Logging stopped after CFileDialog::DoModal() invoking Pin
Jijo.Raj20-Dec-08 8:42
Jijo.Raj20-Dec-08 8:42 
GeneralRe: Logging stopped after CFileDialog::DoModal() invoking Pin
Igor IP21-Dec-08 21:25
professionalIgor IP21-Dec-08 21:25 
Questionrandom number generation Pin
mathy20-Dec-08 2:13
mathy20-Dec-08 2:13 
AnswerRe: random number generation Pin
Jijo.Raj20-Dec-08 2:20
Jijo.Raj20-Dec-08 2:20 

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.