Hi,
Visual C++ .NET
I'm writing an application in Visual C++ .NET.
Strange thing is, when I, for example, put down a radio
button on the form and double click on it, the code is
placed in the form.h file and not the form.cpp file.
Does anyone know why?
Thanks in adv,
Richy.
Carl Daniel [VC++ MVP] - 09 Sep 2003 15:21 GMT
> Hi,
>
[quoted text clipped - 7 lines]
>
> Does anyone know why?
It's a limitation of the WinForms designer, which was originally developed
for C# and VB.NET where there's nothing comparable to the header
file/implementation file concept in C++.
This is something that hopefully will improve in a future release. In the
meantime, don't worry about it. There's nothing semantically or
functionallly wrong with the code, it's just not following the customary C++
style.
-cd