Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / September 2003

Tip: Looking for answers? Try searching our database.

Visual C++ .NET

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
richy - 09 Sep 2003 13:34 GMT
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

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.