![]() |
|
#1
|
|||
|
|||
Windows Forms App in VC++ .NETI've just started to program Windows Forms apps in VC++ .NET.
I have prior experience in developing WinForms apps in C# .NET, and the confusion that leads to my question is rooted in the jump from C# to C++. In C#, when I add a button to the form and create an event handler function this function is visible in my code file. However, in VC++, the designer is the ".h" file and the InitializeComponent function is also in the ".h" file. The event handler function is also added in the ".h" file. My question is this: What code is added in the project's ".cpp" file? By that, I mean to ask, what part of my program should be coded in the .cpp file? How do I access the components, say btn1, btn2 etc from the .cpp file. |
Recent GIDBlog
Python ebook by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Introduction to .NET | LuciWiz | .NET Forum | 5 | 09-Aug-2007 05:53 |
| windows forms: drawing rectangles, creating regions and invalidating | Aileen | .NET Forum | 1 | 10-Sep-2004 08:16 |
| VC++ .NET Windows and interrupts / watchdogs question. | bmwrob | MS Visual C++ / MFC Forum | 0 | 30-Jun-2004 22:06 |
| UDP Sockets between .NET and VS6 | MikeZ | MS Visual C++ / MFC Forum | 2 | 19-Feb-2004 11:55 |
| Forms in multiple windows | ukrspp21 | MySQL / PHP Forum | 0 | 02-Oct-2003 12:07 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The