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

C / C++ / MFC

 
Questionhow to use a bmp in a toolbar button Pin
ns25-Oct-02 2:59
ns25-Oct-02 2:59 
GeneralGeneral C++ Inheritance Question Pin
Haakon S.25-Oct-02 2:11
Haakon S.25-Oct-02 2:11 
GeneralRe: General C++ Inheritance Question Pin
Maximilien25-Oct-02 2:32
Maximilien25-Oct-02 2:32 
GeneralRe: General C++ Inheritance Question Pin
Joaquín M López Muñoz25-Oct-02 2:49
Joaquín M López Muñoz25-Oct-02 2:49 
GeneralRe: General C++ Inheritance Question Pin
Haakon S.25-Oct-02 3:55
Haakon S.25-Oct-02 3:55 
GeneralRe: General C++ Inheritance Question Pin
Joaquín M López Muñoz25-Oct-02 4:27
Joaquín M López Muñoz25-Oct-02 4:27 
GeneralRe: General C++ Inheritance Question Pin
Maximilien25-Oct-02 4:36
Maximilien25-Oct-02 4:36 
GeneralRe: General C++ Inheritance Question Pin
Joe Woodbury25-Oct-02 6:52
professionalJoe Woodbury25-Oct-02 6:52 
How about adding copy constructors for in each class for the opposite type like you suggest.

Another method, which I just did, is combine them and add a bool (or enum) stating which animal it is. (Okay, it's ugly but in my case, I needed only one "cat" for every 10 "dogs" and the difference was that the "cat" required two less data members than "dog", but was otherwise identical, so it isn't exactly similar.)
GeneralMicrosoft SDK and VC++ integration question. Pin
Michael Liu25-Oct-02 2:09
Michael Liu25-Oct-02 2:09 
GeneralWindows Message Pin
Shamoon25-Oct-02 2:03
Shamoon25-Oct-02 2:03 
GeneralRe: Windows Message Pin
Maximilien25-Oct-02 2:33
Maximilien25-Oct-02 2:33 
GeneralRe: Windows Message Pin
Paul M Watt25-Oct-02 5:04
mentorPaul M Watt25-Oct-02 5:04 
GeneralRe: Windows Message Pin
pba_25-Oct-02 11:46
pba_25-Oct-02 11:46 
GeneralFont Calculation for a String . Pin
Muhammad Kamran25-Oct-02 1:40
Muhammad Kamran25-Oct-02 1:40 
GeneralRe: Font Calculation for a String . Pin
Daniel Turini25-Oct-02 2:24
Daniel Turini25-Oct-02 2:24 
GeneralRe: Font Calculation for a String . Pin
Muhammad Kamran25-Oct-02 2:39
Muhammad Kamran25-Oct-02 2:39 
GeneralRe: Font Calculation for a String . Pin
dabs25-Oct-02 3:40
dabs25-Oct-02 3:40 
General_tfullpath(..) for http:// paths Pin
Anonymous25-Oct-02 1:12
Anonymous25-Oct-02 1:12 
GeneralRe: _tfullpath(..) for http:// paths Pin
Anonymous25-Oct-02 2:15
Anonymous25-Oct-02 2:15 
QuestionFront Page Automation is worthy ? Pin
Braulio Dez25-Oct-02 0:00
Braulio Dez25-Oct-02 0:00 
AnswerRe: Front Page Automation is worthy ? Pin
Anonymous25-Oct-02 1:43
Anonymous25-Oct-02 1:43 
QuestionHow to show a BITMAP under win98 Pin
24-Oct-02 23:05
suss24-Oct-02 23:05 
AnswerRe: How to show a BITMAP under win98 Pin
Rickard Andersson2025-Oct-02 0:20
Rickard Andersson2025-Oct-02 0:20 
GeneralRe: How to show a BITMAP under win98 Pin
Willem Hofmans25-Oct-02 0:38
sussWillem Hofmans25-Oct-02 0:38 
GeneralRe: How to show a BITMAP under win98 Pin
Rickard Andersson2025-Oct-02 5:51
Rickard Andersson2025-Oct-02 5:51 

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.