Click here to Skip to main content
15,903,201 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralLayered Service Provider (LSP) Pin
Kuniva5-Aug-03 13:07
Kuniva5-Aug-03 13:07 
GeneralProblems making a LIB file Pin
JMPAC5-Aug-03 13:02
JMPAC5-Aug-03 13:02 
GeneralMFC is NOT good OOP Pin
Rohde5-Aug-03 12:58
Rohde5-Aug-03 12:58 
GeneralRe: MFC is NOT good OOP Pin
Andrew Walker5-Aug-03 13:36
Andrew Walker5-Aug-03 13:36 
GeneralRe: MFC is NOT good OOP Pin
jhwurmbach5-Aug-03 21:26
jhwurmbach5-Aug-03 21:26 
GeneralRe: MFC is NOT good OOP Pin
Ryan Binns6-Aug-03 1:33
Ryan Binns6-Aug-03 1:33 
GeneralRe: MFC is NOT good OOP Pin
QuiJohn6-Aug-03 3:25
QuiJohn6-Aug-03 3:25 
GeneralRe: MFC is NOT good OOP Pin
Ryan Binns6-Aug-03 3:37
Ryan Binns6-Aug-03 3:37 
David Kentley wrote:
This is just one example out of a frightening number which shows that the MFC designers 1) didn't understand OOP methodology

That's understandable. OOP methodology was not very well developed when MFC was first written. Retaining compatibility means that what they originally wrote had to be kept.

David Kentley wrote:
A reliance on macros to make their message mapping nonsense functional should have been a signal that they needed to START OVER and try again.

Aaaah. That one's easy to explain Smile | :) . MFC was written before the MS compiler supported templates. I'd like to see you implement message maps without using macros or templates Wink | ;) . And once it was written, it had to be kept for compatibility reasons.

David Kentley wrote:
Why is CPropertySheet on a different branch of the class hierarchy chart than CDialog?

Because in the Win32 API, property sheets are not tabbed dialogs. They are completely separate. Sure, you could inherit CPropertySheet from CDialog, but you'd have to replace the entire behaviour of the class - not exactly a prime candidate for inheritance.

Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

GeneralRe: MFC is NOT good OOP Pin
Nemanja Trifunovic6-Aug-03 5:36
Nemanja Trifunovic6-Aug-03 5:36 
GeneralRe: MFC is NOT good OOP Pin
Ryan Binns6-Aug-03 18:40
Ryan Binns6-Aug-03 18:40 
GeneralRe: MFC is NOT good OOP Pin
J. Dunlap6-Aug-03 18:48
J. Dunlap6-Aug-03 18:48 
GeneralChild Windows Pin
Marissa1825-Aug-03 12:02
Marissa1825-Aug-03 12:02 
GeneralRe: Child Windows Pin
Dave Bryant5-Aug-03 12:45
Dave Bryant5-Aug-03 12:45 
GeneralNeed Help, I'm a newb to all this Pin
beerdrinker11145-Aug-03 10:37
beerdrinker11145-Aug-03 10:37 
GeneralRe: Need Help, I'm a newb to all this Pin
Terry O'Nolley5-Aug-03 13:34
Terry O'Nolley5-Aug-03 13:34 
GeneralRe: Need Help, I'm a newb to all this Pin
beerdrinker11146-Aug-03 11:46
beerdrinker11146-Aug-03 11:46 
GeneralCRecordset::Requery() Q. Pin
Anonymous5-Aug-03 10:01
Anonymous5-Aug-03 10:01 
GeneralRe: CRecordset::Requery() Q. Pin
Tony Fontenot5-Aug-03 11:56
Tony Fontenot5-Aug-03 11:56 
GeneralRe: CRecordset::Requery() Q. Pin
Tom Archer5-Aug-03 12:42
Tom Archer5-Aug-03 12:42 
GeneralVC6 and watching static variables Pin
QuiJohn5-Aug-03 9:54
QuiJohn5-Aug-03 9:54 
GeneralRe: VC6 and watching static variables Pin
Marissa1825-Aug-03 12:23
Marissa1825-Aug-03 12:23 
GeneralRe: VC6 and watching static variables Pin
QuiJohn6-Aug-03 3:06
QuiJohn6-Aug-03 3:06 
QuestionPrint in VC6 ? Pin
_skidrow_vn_5-Aug-03 9:43
_skidrow_vn_5-Aug-03 9:43 
AnswerRe: Print in VC6 ? Pin
l a u r e n5-Aug-03 11:55
l a u r e n5-Aug-03 11:55 
QuestionIs this possible? Pin
leppie5-Aug-03 9:30
leppie5-Aug-03 9: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.