yeah, it's what at thought at first, but finally, nothing indicated he want to use MessageBox::Show() above all.
i think much that he doesn't really know what he does, and is a little lost with all the existing APIs. maybe he say somewhere on the internet that MessageBox::Show() existed, thinking that it would work in every situation. though, when he asked me what Managed C++ was, it became obvious that he was absolutely not aware of the difference between managed and unmanaged code, and lesser what mixed code could be...
Perhaps, it's so. Let him ask a clearer question on the VC++ forum if he wants to. Let this thread remain here, so people will know how to use MessageBox::Show in a mixed mode app. Helps to improve search results.
Yup! I'm absolutly confused!
I have no clue what so ever what I'm doing when it comes to GUI design with Visual Studio.
I've been taught how to do console type design using emacs and compiling it with gcc but I've never used visual studio b4.
I'm sorry I'm asking so pretty dumb questions, it's just that there's no simple getting started with gui book.
I'm still trying to figure out MFC vs. windows form. I know with the windows form you can add dialogs and controls. With MFC it gives you a project whether it's MDI or SDI you choose but you also have the option to change the base class to CFormVew and then you can play with the dialog that way. Other wise I don't know how else to add dialogs and controls to and MFC...
I seem to have a problem using the DataGrid/DataGridView within a MFC dialog (using the CWinFormsControl< > template).
I create a DataSet from a Xml file and then set it to the DataSource. I also set the DataMember to the appropriate table name, but nothing is displayed in the grid view. I tried other various approaches, but nothing seems to work.
I have no problem setting this up in WinForms - it just won't display in MFC. I know the data's there because I can actually step right into it from the DataGrid object - it just won't display - the ColumnCount is still 0.
What's the problem? Has anyone else experienced this? If so, has anyone found a way around this?
If this question is about "is it easy to use them", the answer is yes. As most C# controls are compiled into assemblies(DLLs), you should be able to use them in your C++ applications with no or little problems.
If your question is about copyright, consult with the author or CP staff about terms and conditions.