Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
[green]//Create an object of the parent class in the prompt's .h file[/green]
[blue]
CYourOriginalClass *mParent;
[/blue]
[green]//When you initialize the prompt in the first window set the parent there[/green]
[blue]
CMyPrompt *Test;
Test= new CMyPrompt(this);
[red]Test->mParent=this;[/red]
Test->DoModal();
[/blue]
[green]//Then in your prompt when you want to show the window again do this[/green]
[blue] this->mParent->SetFocus(); [/blue]
[green]//or[/green]
[blue] this->mParent->SetForeGroundWindow(); [/blue]
[green]//Which ever one tickles your fancy the most![/green]