Click here to Skip to main content
15,913,486 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Mirror Text Pin
Christian Graus5-Jan-05 11:46
protectorChristian Graus5-Jan-05 11:46 
GeneralMCppWrapper example Pin
eusjmf4-Jan-05 7:54
eusjmf4-Jan-05 7:54 
GeneralRe: MCppWrapper example Pin
ursus zeta5-Jan-05 10:52
ursus zeta5-Jan-05 10:52 
GeneralRe: MCppWrapper example Pin
eusjmf6-Jan-05 3:53
eusjmf6-Jan-05 3:53 
Generalproblem with Application::CommonAppDataPath Pin
maos3-Jan-05 9:03
maos3-Jan-05 9:03 
GeneralNOTIFYICONDATA missing data Pin
cimnik02931-Dec-04 6:35
cimnik02931-Dec-04 6:35 
QuestionHow Create a Printer Port Monitor?? Pin
raf-sp30-Dec-04 7:39
raf-sp30-Dec-04 7:39 
GeneralHelp with MDI (VS 2003 Forms Designer) Pin
ZisisSim29-Dec-04 22:19
ZisisSim29-Dec-04 22:19 
I am using Visual Studio.Net 2003B and I have to say that i am really pleased with
the Studio's Form Designer...It really helps you handle the events ,the properties and many other things.
BUT I have some problems with the organisation of the Forms the Designer proposes(or is it forces you..?).
It implements a form as a Form.h library file and a main CppForm for example .cpp file which calls the
Forms class at the beginning.
Application::Run(new Form1());

Let's say i create a second form using Studio's Wizard,Add New Item->Windows Form.
That means a second Form2.h and a Form2.cpp is created.

What i want to do is by clicking a button at the Form1 to Show Form2..
How do I do that.

Does it have anything to do with PArent and Child Forms?
I found the following code for Child and Parent Forms but the problem is i want to
put this code into the Form1.h event handler for my button..

private:

void CreateMyChildForm ()

{

// Create a new form to represent the child form.

Form* child = new Form();

// Increment the private child count.

childCount++;

// Set the text of the child form using the count of child forms.

String* formText = String::Format( S"Child {0}", __box(childCount));

child->Text = formText;



// Make the new form a child form.

child->MdiParent = this;

// Display the child form.

child->Show();

}


If i want to fire a new instance of Form2 class how would i do it as far as the event handler of Button1 let's say
is in Form1.h and cannot "see" the Form2 class located in Form2.h..
PLS HELPConfused | :confused:

May it be your fate to live in interesting times
QuestionWhat are the difference between these Main function in MC++? Pin
Link260025-Dec-04 22:42
Link260025-Dec-04 22:42 
AnswerRe: What are the difference between these Main function in MC++? Pin
Anonymous27-Dec-04 9:35
Anonymous27-Dec-04 9:35 
GeneralExecuting Application Pin
Rich Wright24-Dec-04 4:51
Rich Wright24-Dec-04 4:51 
GeneralRe: Executing Application Pin
Christian Graus5-Jan-05 11:47
protectorChristian Graus5-Jan-05 11:47 
GeneralHelp required on clustering Pin
proteas20-Dec-04 0:01
proteas20-Dec-04 0:01 
GeneralManaged .NET DLL with c++ Pin
BeerFizz19-Dec-04 7:04
BeerFizz19-Dec-04 7:04 
GeneralRe: Managed .NET DLL with c++ Pin
ursus zeta21-Dec-04 12:33
ursus zeta21-Dec-04 12:33 
GeneralRe: Managed .NET DLL from UnManaged c++ Pin
BeerFizz24-Dec-04 0:45
BeerFizz24-Dec-04 0:45 
GeneralSorry, Holidays. Pin
ursus zeta4-Jan-05 12:47
ursus zeta4-Jan-05 12:47 
Generaldeclaring arrays in function (please help) Pin
Toximus19-Dec-04 6:06
Toximus19-Dec-04 6:06 
GeneralRe: declaring arrays in function (please help) Pin
Christian Graus20-Dec-04 9:31
protectorChristian Graus20-Dec-04 9:31 
Generalwant the source code of this riddle! Pin
babur khan18-Dec-04 22:03
babur khan18-Dec-04 22:03 
GeneralRe: want the source code of this riddle! Pin
SteveKing27-Dec-04 5:56
SteveKing27-Dec-04 5:56 
GeneralNetwork related Pin
Rawshid18-Dec-04 20:24
Rawshid18-Dec-04 20:24 
Generalsingle words Pin
Johny Smith18-Dec-04 8:14
Johny Smith18-Dec-04 8:14 
GeneralCombo box item - using variable values Pin
Rich Wright16-Dec-04 22:24
Rich Wright16-Dec-04 22:24 
GeneralNET syntax takes some getting used to Pin
ursus zeta18-Dec-04 11:06
ursus zeta18-Dec-04 11:06 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.