I have several forms in a .NET PocketPC application. Each of them has a menu.
When I .show() a form and then .Hide() the existing form and then .refresh()
the new form (as well as .show .refresh .hide, .hide first doesn't work)

The menu from the PREVIOUS form shows up until I click somewhere on the
screen. Then, without any code by me, the menu for the current form finally
shows up.

I have ONE form that I can go to that works fine (the first one with a menu.)

I am stymed ... why don't the menus show up or ... how can I force the menu
to show up?

Re: .NET C# Menu not showing up when form.show() by Tim

Tim
Sat Jan 01 12:24:23 CST 2005

Have you installed CF Service Pack 2? If not then you might want to upgrade
to the latest SP release and see if that solves the problem.
http://www.microsoft.com/downloads/details.aspx?FamilyID=359ea6da-fc5d-41cc-ac04-7bb50a134556&displaylang=en

If that doesn't solve the problem then try calling the "BringToFront" method
on the new Form after showing it.

--
Tim Wilson
.Net Compact Framework MVP

"madmanpierre" <madmanpierre@discussions.microsoft.com> wrote in message
news:1DFC083B-2783-4200-AE07-418374C08BE1@microsoft.com...
> I have several forms in a .NET PocketPC application. Each of them has a
menu.
> When I .show() a form and then .Hide() the existing form and then
.refresh()
> the new form (as well as .show .refresh .hide, .hide first doesn't work)
>
> The menu from the PREVIOUS form shows up until I click somewhere on the
> screen. Then, without any code by me, the menu for the current form
finally
> shows up.
>
> I have ONE form that I can go to that works fine (the first one with a
menu.)
>
> I am stymed ... why don't the menus show up or ... how can I force the
menu
> to show up?



Re: .NET C# Menu not showing up when form.show() by madmanpierre

madmanpierre
Sat Jan 01 23:53:02 CST 2005

Tim,

I tried both those suggestions with no difference in the problem.

Do you have a multi window .NET app that does not have this problem?

The windows with the problem have tab objects with several objects on each
tab page.

Is there any way to force the menu to be redrawn?

"Tim Wilson" wrote:

> Have you installed CF Service Pack 2? If not then you might want to upgrade
> to the latest SP release and see if that solves the problem.
> http://www.microsoft.com/downloads/details.aspx?FamilyID=359ea6da-fc5d-41cc-ac04-7bb50a134556&displaylang=en
>
> If that doesn't solve the problem then try calling the "BringToFront" method
> on the new Form after showing it.
>
> --
> Tim Wilson
> ..Net Compact Framework MVP
>
> "madmanpierre" <madmanpierre@discussions.microsoft.com> wrote in message
> news:1DFC083B-2783-4200-AE07-418374C08BE1@microsoft.com...
> > I have several forms in a .NET PocketPC application. Each of them has a
> menu.
> > When I .show() a form and then .Hide() the existing form and then
> ..refresh()
> > the new form (as well as .show .refresh .hide, .hide first doesn't work)
> >
> > The menu from the PREVIOUS form shows up until I click somewhere on the
> > screen. Then, without any code by me, the menu for the current form
> finally
> > shows up.
> >
> > I have ONE form that I can go to that works fine (the first one with a
> menu.)
> >
> > I am stymed ... why don't the menus show up or ... how can I force the
> menu
> > to show up?
>
>
>

Re: .NET C# Menu not showing up when form.show() by Tim

Tim
Sun Jan 02 11:02:33 CST 2005

Even with a multi-form application where each form contains a tab control
with several controls on each page I do not see this problem. Have you tried
showing the new forms using ShowDialog?

--
Tim Wilson
.Net Compact Framework MVP

"madmanpierre" <madmanpierre@discussions.microsoft.com> wrote in message
news:AC74E1FA-B070-49D4-A968-C90718EA372A@microsoft.com...
> Tim,
>
> I tried both those suggestions with no difference in the problem.
>
> Do you have a multi window .NET app that does not have this problem?
>
> The windows with the problem have tab objects with several objects on each
> tab page.
>
> Is there any way to force the menu to be redrawn?
>
> "Tim Wilson" wrote:
>
> > Have you installed CF Service Pack 2? If not then you might want to
upgrade
> > to the latest SP release and see if that solves the problem.
> >
http://www.microsoft.com/downloads/details.aspx?FamilyID=359ea6da-fc5d-41cc-ac04-7bb50a134556&displaylang=en
> >
> > If that doesn't solve the problem then try calling the "BringToFront"
method
> > on the new Form after showing it.
> >
> > --
> > Tim Wilson
> > ..Net Compact Framework MVP
> >
> > "madmanpierre" <madmanpierre@discussions.microsoft.com> wrote in message
> > news:1DFC083B-2783-4200-AE07-418374C08BE1@microsoft.com...
> > > I have several forms in a .NET PocketPC application. Each of them has
a
> > menu.
> > > When I .show() a form and then .Hide() the existing form and then
> > ..refresh()
> > > the new form (as well as .show .refresh .hide, .hide first doesn't
work)
> > >
> > > The menu from the PREVIOUS form shows up until I click somewhere on
the
> > > screen. Then, without any code by me, the menu for the current form
> > finally
> > > shows up.
> > >
> > > I have ONE form that I can go to that works fine (the first one with a
> > menu.)
> > >
> > > I am stymed ... why don't the menus show up or ... how can I force the
> > menu
> > > to show up?
> >
> >
> >