DataGridView in Visual C++

Hello:

What happen with Visual C++ 2005 and MFC They are going to disappear in the future I see that are many controls advanced and new in C# and VB, but in C++ follow same.

For example, I have not been able to insert the DataGridView control in C++ (MFC). It is not compatible there What is necessary to make to use it in C++ Please, help

Thanks.

--------------------------------------------------------------------

Que tal a todos:

Que pasa con Visual C++ 2005 y las MFC Va a desaparecer Veo que hay muchos controles nuevos avanzados en C# y VB pero en C++ siguen los mismos. Por ejemplo, no he podido insertar el control DataGridView en Visual C++ No es compatible ahi o que hay que hacer para usarlo en C++

Gracias.



Answer this question

DataGridView in Visual C++

  • Sergey Golovkin

    I am going to check this with the DataGridView. Thank you very much...

    Greetings.


  • Joe_D

    I'm sorry. I will follow his indication. Thanks.
  • pranitha

    Hi. You cann't use controls like DataGrid or DataGridView in Native C++, becouse there are written in .NET. See this grid which looks good:

    http://www.codeproject.com/miscctrl/gridctrl.asp

    And I thing there is another simple and stupid solution. U can make Activex control in .NET which encapsulate your DataGridView, and load it from VC++. But, this is higly unrecommend:)

    KalliMan


  • joshep

    You can use Forms controls in MFC apps. Here's an article I wrote that is a step-by-step guide to putting a Forms control in a dialog.

    http://www.codeproject.com/managedcpp/mfcdialogwinforms.asp

    I presume you can do the same with a DataGridView too.



  • mattstr1221

    Thank you. I thought that VC++ also was written in NET. Here I received another alternative:

    http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=290435&SiteID=1&mode=1

    Greetings .


  • Tony1059

    I've merged the two threads you started - since they were identical, and I've deleted one of the two duplicate posts. So, there's just one thread now.

    And in future, please do not start multiple threads asking the same question. It only serves to confuse search results, and extra garbage data.

    Thank you, and good luck with putting that Grid View on a MFC dialog :-)



  • DataGridView in Visual C++