Programming Windows with C#
-
Woohoo, I finally got my copy of Petzold's new book from Amazon today. Heh, maybe I can finally figure out what Windows Forms are all about. Though, I noticed in the introduction these quotes: "I never liked MFC. Ever since it was introduced, I thought it was poorly designed and barely object oriented. Consequently, I've never written aobut MFC. But that's only a personal view" :( ... "From my view, Windows Forms is much better designed than MFC and much closer to what I envision as an ideal object-oriented interface to Windows." So, that's the reason why he's so invisible about MFC. :) After flipping through the book, I think most of the stuff is new, though some of the examples used are familiar from Programming Windows. I also noticed that it says that you can use C++ with Windows Forms, though I'm not sure if that's true. It's probably true, but Visual C++ probably lacks the nifty Windows Forms editor that VB.Net and C#.Net has. Anyway, it will probably be a while before I can come to any conlusions about this book since school (UCLA) starts Monday for me . Frank
Frank Liao wrote: It's probably true, but Visual C++ probably lacks the nifty Windows Forms editor that VB.Net and C#.Net has. You're right on both issues. You can use Windows Forms from C++, but you don't get the spiffy form editors as of yet (if ever - it's not in RC1, I don't think...). A little while ago I was corrected on this issue by another CP'ian - I didn't think that it was possible to do from C++. But, considering that today at work I derived a subclass of System.Windows.Forms.Control in C++, I was obviously incorrect before ;P -- Russell Morris AFLAC Software Research Center "WOW! Chocolate - half price!" - Homer Simpson, while in the land of chocolate.
-
Woohoo, I finally got my copy of Petzold's new book from Amazon today. Heh, maybe I can finally figure out what Windows Forms are all about. Though, I noticed in the introduction these quotes: "I never liked MFC. Ever since it was introduced, I thought it was poorly designed and barely object oriented. Consequently, I've never written aobut MFC. But that's only a personal view" :( ... "From my view, Windows Forms is much better designed than MFC and much closer to what I envision as an ideal object-oriented interface to Windows." So, that's the reason why he's so invisible about MFC. :) After flipping through the book, I think most of the stuff is new, though some of the examples used are familiar from Programming Windows. I also noticed that it says that you can use C++ with Windows Forms, though I'm not sure if that's true. It's probably true, but Visual C++ probably lacks the nifty Windows Forms editor that VB.Net and C#.Net has. Anyway, it will probably be a while before I can come to any conlusions about this book since school (UCLA) starts Monday for me . Frank
Thanks for posting something about it! I was waiting for this book to come out since I heard he was writing it; but it never dawned on me to see if it might have made it yet :p *sigh* Now I just need some money so i can buy the damned thing. James Sonork ID: 100.11138 - Hasaki
-
Frank Liao wrote: It's probably true, but Visual C++ probably lacks the nifty Windows Forms editor that VB.Net and C#.Net has. You're right on both issues. You can use Windows Forms from C++, but you don't get the spiffy form editors as of yet (if ever - it's not in RC1, I don't think...). A little while ago I was corrected on this issue by another CP'ian - I didn't think that it was possible to do from C++. But, considering that today at work I derived a subclass of System.Windows.Forms.Control in C++, I was obviously incorrect before ;P -- Russell Morris AFLAC Software Research Center "WOW! Chocolate - half price!" - Homer Simpson, while in the land of chocolate.
C++ needs CodeDOM implemented so that it can support RAD and ASP.NET. Stanley Lippman has assured us that this is high on the agenda for the updated version due (most likely) before year's end. cheers, Chris Maunder
-
Frank Liao wrote: It's probably true, but Visual C++ probably lacks the nifty Windows Forms editor that VB.Net and C#.Net has. You're right on both issues. You can use Windows Forms from C++, but you don't get the spiffy form editors as of yet (if ever - it's not in RC1, I don't think...). A little while ago I was corrected on this issue by another CP'ian - I didn't think that it was possible to do from C++. But, considering that today at work I derived a subclass of System.Windows.Forms.Control in C++, I was obviously incorrect before ;P -- Russell Morris AFLAC Software Research Center "WOW! Chocolate - half price!" - Homer Simpson, while in the land of chocolate.
Russell Morris wrote: A little while ago I was corrected on this issue by another CP'ian Don't let that happen too often ! :-) My 2 cents, 1.cent) The current lack of new tools for VC++ will be resolved by the market responding and 3rd party authorities developing both novel utilities and imitations of other MS tools. Maybe a 3rd part will have a WForms editor implimented before MS and will become the industry standard. 2.cent) MS hasn't allowed this lack of new tools happen on their own volition, but it has occurred because there resourses have been taken up elsewhere, eg squadrons of MS coders migrating down to CLR and C# projects for there development. Shiney Coin) VC++ and C++ will be left with a better experienced core of coders once all the weirdos have gone on there merry way like devout leemings on migration. Lets see a C# dude develop their own compiler in the CLR ! Lets see a C# dude develop thier own pseudo kerell. The real power to create still resides in Assembler, C , C++ and Delphi. One quetion what was the CLR written in ? :-) Regardz Colin J Davies
Sonork ID 100.9197:Colin
I live in Bob's HungOut now
-
Frank Liao wrote: It's probably true, but Visual C++ probably lacks the nifty Windows Forms editor that VB.Net and C#.Net has. You're right on both issues. You can use Windows Forms from C++, but you don't get the spiffy form editors as of yet (if ever - it's not in RC1, I don't think...). A little while ago I was corrected on this issue by another CP'ian - I didn't think that it was possible to do from C++. But, considering that today at work I derived a subclass of System.Windows.Forms.Control in C++, I was obviously incorrect before ;P -- Russell Morris AFLAC Software Research Center "WOW! Chocolate - half price!" - Homer Simpson, while in the land of chocolate.
Russell Morris wrote: A little while ago I was corrected on this issue by another CP'ian - I didn't think Is it "SEE pee in" or "see PEE ee in" ? :confused: -Jason nirgle.bitdevil.com
-
Russell Morris wrote: A little while ago I was corrected on this issue by another CP'ian Don't let that happen too often ! :-) My 2 cents, 1.cent) The current lack of new tools for VC++ will be resolved by the market responding and 3rd party authorities developing both novel utilities and imitations of other MS tools. Maybe a 3rd part will have a WForms editor implimented before MS and will become the industry standard. 2.cent) MS hasn't allowed this lack of new tools happen on their own volition, but it has occurred because there resourses have been taken up elsewhere, eg squadrons of MS coders migrating down to CLR and C# projects for there development. Shiney Coin) VC++ and C++ will be left with a better experienced core of coders once all the weirdos have gone on there merry way like devout leemings on migration. Lets see a C# dude develop their own compiler in the CLR ! Lets see a C# dude develop thier own pseudo kerell. The real power to create still resides in Assembler, C , C++ and Delphi. One quetion what was the CLR written in ? :-) Regardz Colin J Davies
Sonork ID 100.9197:Colin
I live in Bob's HungOut now
There is already a C# compiler that is written in C#. The Mono C# Compiler I completely disagree that the real power to create lies in Assembler, C, C++ and Deplhi. C# is really nice and can work for most real world applications. Name one thing that you can do with C++/MFC that cannot be done with C#/Windows Forms. Regards, Suresh :)
-
There is already a C# compiler that is written in C#. The Mono C# Compiler I completely disagree that the real power to create lies in Assembler, C, C++ and Deplhi. C# is really nice and can work for most real world applications. Name one thing that you can do with C++/MFC that cannot be done with C#/Windows Forms. Regards, Suresh :)
G. Suresh wrote: Name one thing that you can do with C++/MFC that cannot be done with C#/Windows Forms. Make applications for Windows 95 ;P Make applications that can run without the .NET runtime... Woops, that was 2 things. - Anders Money talks, but all mine ever says is "Goodbye!"
-
There is already a C# compiler that is written in C#. The Mono C# Compiler I completely disagree that the real power to create lies in Assembler, C, C++ and Deplhi. C# is really nice and can work for most real world applications. Name one thing that you can do with C++/MFC that cannot be done with C#/Windows Forms. Regards, Suresh :)
-
Thanks for posting something about it! I was waiting for this book to come out since I heard he was writing it; but it never dawned on me to see if it might have made it yet :p *sigh* Now I just need some money so i can buy the damned thing. James Sonork ID: 100.11138 - Hasaki
James T. Johnson wrote: *sigh* Now I just need some money so i can buy the damned thing. Money, money, money... seems to be in such short supply these days... Sincerely Yours, Brian Hart "And that's the news from Lake Wobegon, where all the women are strong, the men are good-looking, and the children are above-average." - Garrison Keillor
-
There is already a C# compiler that is written in C#. The Mono C# Compiler I completely disagree that the real power to create lies in Assembler, C, C++ and Deplhi. C# is really nice and can work for most real world applications. Name one thing that you can do with C++/MFC that cannot be done with C#/Windows Forms. Regards, Suresh :)
G. Suresh wrote: There is already a C# compiler that is written in C#. Are you sure that it is a real compiler ? I have read through most of the site and it is sketchy to say the best if it is a real compiler , I'm under the impression it compiles stuff for the CLI rather than for the OS, Please correct me if I'm wrong, Regardz Colin J Davies
Sonork ID 100.9197:Colin
I live in Bob's HungOut now