Re: Pocket PC flicker
From: William Ryan eMVP (dotnetguru_at_comcast.nospam.net)
Date: 05/10/04
- Next message: Justin Rogers: "Re: How can I find out if the cursor is over Selected Text?"
- Previous message: Morten Wennevik: "Re: key pressed"
- In reply to: Michael Culley: "Pocket PC flicker"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 10 May 2004 09:44:40 -0400
Michael, this is the whole reason they don't want you calling
application.exit or calling close on the main form. One more powerful PDA's
this may not be a problem, on other ones its a disaster. Hence, the safest
way to deal with it is Hide your forms and manipulate the visible properties
of the form to show them when you need them. You want to make sure they can
be minimized, that way even though there's a X in the corner, they aren't
being closed they are being hidden. If you see an OK button up there, then
they are going to be closed when you hit ok
Two CF sites that regularly discuss such issues are www.devbuzz.com and
www.opennetcf.org
HTH,
Bill
www.devbuzz.com
www.knowdotnet.com
"Michael Culley" <mculley@NOSPAMoptushome.com.au> wrote in message
news:eF5hGblNEHA.160@TK2MSFTNGP10.phx.gbl...
> If I show a form in a c sharp pocket PC app the title of the form flickers
to say "Start" and then the title of the previous form
> several times and eventually it settles on the correct title. This looks
pretty awful :). I found the reason was that any time I set
> a property, such as ControlBox = false, the window was destroyed and
created again. All of the controls on the form and destroyed
> and created afaik. Not only does this cause a flicker but slows things
down a lot because the form is effectively loaded several
> times. I have not been able to find a solution except to not use these
properties. These properties cause the problem:
>
> FormBorderStyle
> ControlBox
> MaximiseButton
> WindowState
> MinimiseButton
>
> Any ideas?
>
> Thanks,
> Michael Culley
>
>
>
- Next message: Justin Rogers: "Re: How can I find out if the cursor is over Selected Text?"
- Previous message: Morten Wennevik: "Re: key pressed"
- In reply to: Michael Culley: "Pocket PC flicker"
- Messages sorted by: [ date ] [ thread ]