
07/12/2011, 17:13
|
| | Fecha de Ingreso: marzo-2010
Mensajes: 14
Antigüedad: 14 años, 11 meses Puntos: 0 | |
Respuesta: Visual C++ .NET - Formularios MDI Ya pude ver porque me generaba el error…
Coloco la solución por si a alguien le sirve.
Seria colocar en la cabecera del Form1 lo siguiente: //**************************************
// Form1 #pragma once // por defecto ya está esta línea #include "Form2.h" //**************************************
// Form1
// Después debe quedar asi:
// solo seria cambiar el * (arterisco) por ^ y cambiar new por gcnew
Form2 ^newMDIChild = gcnew Form2(); // Set the Parent Form of the Child window.
newMDIChild->MdiParent = this; // Display the new form.
newMDIChild->Show(); //**************************************
Gracias |