|
-
June 19th, 2006, 11:47 AM
#2
Re: Event-driven programming in MFC and VC++.NET
Your question is probably more an issue of frameworks than native vs. managed code. You're right on that WinForms' delegates and events make for a nicer programming model than MFC's message maps. It's unlikely we would invest in the significant work required to modify MFC to support WinForms-like eventing as well as message maps. Your question does touch on native vs. managed code in that delegates and events are C++/CLI features which are not supported for unmanaged C++ classes. We don't have any plans at the moment to support these features outside of C++/CLI managed classes.
It is worth noting that you can mix MFC and WinForms code in Visual C++ 2005 if you want to get the best of both worlds, with compatibility with existing code and a more modern framework architecture.
Thanks,
Steve Teixeira
Visual C++
Last edited by steixeira; June 19th, 2006 at 11:50 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|