Activate Window

  • Thread starter Leonardo Castillo
  • Start date
L

Leonardo Castillo

Hello to everyone.

I have an application in VB.NET for Pocket PC. It's start with Form1, which
call a form2. Form2 has a menu for the user. The user select an option and
this form call another form (Form3.Show or Form3.ShowDialog).

At the end of the process in the Form3, is closed, but the Form2 not appear
again. It's still in memory but is not visible. How can i do to activate
this form again ? (Using VB.NET). In something place in this forum mencioned
"pinvoke" ... this is a solution for this problem?... can send me an
example?

Thanks,

Leonardo Castillo
 
G

Guest

Leonardo,
It should be as simple as setting:
Form2.Visible = True

I've wrote a class that wraps up all of the navigation of forms, similar to what you are doing, and that is all I had to do.
Try it out and let me know.

Roger
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top