Click to See Complete Forum and Search --> : VC++ Window Form Application


rich9999
November 29th, 2005, 02:12 PM
Hi,

I just installed Visual C++ 2005. I want to write a simple windows forms application where the events for controls such as button and check boxes will go into a cpp file, at the moment it defaults to the form1.h file.

Is it possible to change this or is this the noirm in visual c++ 2005?

Thank for you help.

g_gili
November 29th, 2005, 02:24 PM
It's not clear what do you mean that the events are in form1.h.??????/

cilu
November 29th, 2005, 05:32 PM
[ redirected thread ]

rich9999
December 1st, 2005, 06:18 AM
For example when you place a button on the form and double click the event for the Click event is place in the header file and no the ccp as it does in VC6.

cilu
December 2nd, 2005, 04:14 AM
VS.NET wizards were (poorly) designed to generate C#/VB.NET code that do not separete definition and implementation. As a result handlers are automatically placed into headers when using C++. There is no change in VS.2005 and probably not in future releases.