(apologies for cross post from Smartphone newsgroup)

My .Net CF 1.0 application appears to hang when deactivated and an
attempt is made to bring it to the front. Any ideas what I might be
doing wrong? Is there a good example somewhere on how the "lifecycle"
of a .Net CF application works as well as best practices for handling
backgrounding and returning to the foreground?

Thanks,
Craig

Re: netcf application hang during deactivation? by ctacke/>

ctacke/>
Fri May 18 06:22:38 CDT 2007

Do you have anything in your Form's event handlers that might affect this
(like for Activate)?


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Managed Code in an Embedded World
www.OpenNETCF.com


"Craig Setera" <csete@nospam.mfoundry.com> wrote in message
news:OWS2asTmHHA.4552@TK2MSFTNGP05.phx.gbl...
> (apologies for cross post from Smartphone newsgroup)
>
> My .Net CF 1.0 application appears to hang when deactivated and an attempt
> is made to bring it to the front. Any ideas what I might be doing wrong?
> Is there a good example somewhere on how the "lifecycle" of a .Net CF
> application works as well as best practices for handling backgrounding and
> returning to the foreground?
>
> Thanks,
> Craig



Re: netcf application hang during deactivation? by Craig

Craig
Fri May 18 09:59:06 CDT 2007

At this point, I don't have any activate or deactivate handlers on my
primary form.

<ctacke/> wrote:
> Do you have anything in your Form's event handlers that might affect this
> (like for Activate)?
>
>

Re: netcf application hang during deactivation? by James

James
Wed May 23 20:00:48 CDT 2007

Do you have threads that might try to update the Controls? If yes you might
use me.invoke before...


"Craig Setera" <csete@nospam.mfoundry.com> schrieb im Newsbeitrag
news:OWS2asTmHHA.4552@TK2MSFTNGP05.phx.gbl...
> (apologies for cross post from Smartphone newsgroup)
>
> My .Net CF 1.0 application appears to hang when deactivated and an attempt
> is made to bring it to the front. Any ideas what I might be doing wrong?
> Is there a good example somewhere on how the "lifecycle" of a .Net CF
> application works as well as best practices for handling backgrounding and
> returning to the foreground?
>
> Thanks,
> Craig