Click here to Skip to main content
15,901,001 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
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 
In addition to Stuart's replies...

You haven't used "virtual' anywhere, so a method implementation in a derived
class has nothing to do with a base class' method.

Even if you use "virtual", you'd still need to include botht the definition and the
implementation in the derived class, and call the base class method explicitly if desired.

Mark

Mark Salsbery
Microsoft MVP - Visual C++

Java | [Coffee]

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 
AnswerRe: random number generation Pin
David Crow20-Dec-08 6:34
David Crow20-Dec-08 6:34 
GeneralRe: random number generation Pin
Luc Pattyn20-Dec-08 7:04
sitebuilderLuc Pattyn20-Dec-08 7:04 
AnswerRe: random number generation Pin
CPallini20-Dec-08 7:54
mveCPallini20-Dec-08 7:54 

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.