L
Lupina
How to do global pointer , which indicates on the second form ?
If I want e.g. invoke another form I do it like this :
private: System::Void menuItemDlg_Click(System::Object * sender,
System::EventArgs * e)
{
DIALOG1 *myDlg = new DIALOG1;
myDlg->Show();
}
but I want to use "myDlg " in all functions my MainForm. How to declare
myDlg as global pointer?
If I want e.g. invoke another form I do it like this :
private: System::Void menuItemDlg_Click(System::Object * sender,
System::EventArgs * e)
{
DIALOG1 *myDlg = new DIALOG1;
myDlg->Show();
}
but I want to use "myDlg " in all functions my MainForm. How to declare
myDlg as global pointer?