GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 20-Oct-2004, 13:44
hellhammer hellhammer is offline
New Member
 
Join Date: Mar 2004
Posts: 25
hellhammer is on a distinguished road

Windows Forms App in VC++ .NET


I'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 GIDBlogPython ebook by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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

All times are GMT -6. The time now is 06:33.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.