When you say the Form 'exists' what do you mean? In my managed
applications, forms are created ala:
Form* myForm = new Form();
myForm->Width = 640;
myForm->Height = 320;
:
:
etc.
So, they don't 'exist' at design time, but only at run time.
If there is a way to add some file or resource that acts like a form that
can be designed in some visual environment during the design phase, I'd like
to hear about this too... :)
> Hi,
>
> Can anyone tell me how I can add an existing (managed) form into a
project,
> and have it appear like others (i.e. able to open in the designer)?
>
> Thanks!
>
> Steve
Steve McLellan - 19 May 2004 22:32 GMT
Yeah, my code runs fine, it's just I'd like to be able to use the designer.
Primarily because I'm extremely lazy :-) If you create a new Form (through
'Add New Item') it appears ok - I imagine there's some project manifest or
resource list or something to add things to. Otherwise I'll just copy the
code from the file as it is and recreate the form, though that will angry up
my lazy nature.
Steve
> When you say the Form 'exists' what do you mean? In my managed
> applications, forms are created ala:
[quoted text clipped - 22 lines]
> >
> > Steve