Managed and Unmanaged
-
Hi all I am looking for a good article(s) that explains how to use .NET component (even UI) in MFC dll or MFC app.
-
Hi all I am looking for a good article(s) that explains how to use .NET component (even UI) in MFC dll or MFC app.
See :- http://www.codeproject.com/managedcpp/ntrack.asp It's an MFC application(s) that uses .NET classes within it. Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
See :- http://www.codeproject.com/managedcpp/ntrack.asp It's an MFC application(s) that uses .NET classes within it. Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
Thanks Nish, I already checked it. Can I use the same idea to call Windows Form component from MFC application (as View)????
-
Thanks Nish, I already checked it. Can I use the same idea to call Windows Form component from MFC application (as View)????
fnaddaf wrote: Can I use the same idea to call Windows Form component from MFC application (as View)???? If you want to use a .NET Forms control as an MFC view there is a sample in the VC++ 2003 beta CDs. It's not easy and involves a lot of round-about stuff. I wouldn't recommend it. I also saw a similar article by Chris Sells on the web - don't remember the URL. I think it was Kannan K who told me about it, you could try searching for it. Unless you really want to use Forms inside a view you are better off using MFC for the GUI. maybe you can pop-up a Form for data-entry. Anyway good luck. Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
-
fnaddaf wrote: Can I use the same idea to call Windows Form component from MFC application (as View)???? If you want to use a .NET Forms control as an MFC view there is a sample in the VC++ 2003 beta CDs. It's not easy and involves a lot of round-about stuff. I wouldn't recommend it. I also saw a similar article by Chris Sells on the web - don't remember the URL. I think it was Kannan K who told me about it, you could try searching for it. Unless you really want to use Forms inside a view you are better off using MFC for the GUI. maybe you can pop-up a Form for data-entry. Anyway good luck. Nish
Author of the romantic comedy Summer Love and Some more Cricket [New Win] Review by Shog9 Click here for review[NW]
Thanks a lot Nish, :)
-
Thanks a lot Nish, :)
http://msdn.microsoft.com/msdnmag/issues/03/03/WindowsForms/[^] This contains some information on accessing windows forms controls from MFC. regards Kannan
-
http://msdn.microsoft.com/msdnmag/issues/03/03/WindowsForms/[^] This contains some information on accessing windows forms controls from MFC. regards Kannan
Chris Sells and I are writing an article right now for MSDN that is a complete WinForms with MC++ for the MFC Programmer. It includes how to access windows forms controls from MFC. ---------------------------- Sam Gentile Microsoft .NET Consultant http://samgentile.com Read my blog at http://dotnetweblogs.com/sgentile/
-
Chris Sells and I are writing an article right now for MSDN that is a complete WinForms with MC++ for the MFC Programmer. It includes how to access windows forms controls from MFC. ---------------------------- Sam Gentile Microsoft .NET Consultant http://samgentile.com Read my blog at http://dotnetweblogs.com/sgentile/
Thanks Sam, nice to see you hear in CP :-) I've been reading your blogs for quite some time. I hope to see more articles from you on MC++ and COM/Interop. regards Kannan