PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Determine application activated CF 2.0

Reply

Determine application activated CF 2.0

 
Thread Tools Rate Thread
Old 16-01-2006, 09:25 AM   #1
=?Utf-8?B?c3luYw==?=
Guest
 
Posts: n/a
Default Determine application activated CF 2.0


Hi all,

I have an application with multiple forms. This application can be smart
minimized.
Is there any API that I could use in the application to determine when is
this application is activated again?

Thanks.
  Reply With Quote
Old 16-01-2006, 11:01 AM   #2
Simon Hart
Guest
 
Posts: n/a
Default Re: Determine application activated CF 2.0

You could subscribe to the Activated event. Would that solve your problem?

"sync" <sync@sync.sync..(donotspam).> wrote in message
news:78E375A2-D53A-4F11-ADE5-DBE51A5721AE@microsoft.com...
> Hi all,
>
> I have an application with multiple forms. This application can be smart
> minimized.
> Is there any API that I could use in the application to determine when is
> this application is activated again?
>
> Thanks.



  Reply With Quote
Old 17-01-2006, 02:51 AM   #3
=?Utf-8?B?c3luYw==?=
Guest
 
Posts: n/a
Default Re: Determine application activated CF 2.0


Does that mean subscribing to Form Activated event? If yes, this is not the
solution I am looking for. Subcribing Activated event on Form may cause
unintended call as Activated event can be called when the form is loaded or
when it lost focus.

I am doing a simple application that when it is activated it will check for
network connection, lets say through the shortcut (application is minimized
earlier on). I am stuck at how can I know my application is activated again.

Any insights are much appreciated.

Thanks.

"Simon Hart" wrote:

> You could subscribe to the Activated event. Would that solve your problem?
>
> "sync" <sync@sync.sync..(donotspam).> wrote in message
> news:78E375A2-D53A-4F11-ADE5-DBE51A5721AE@microsoft.com...
> > Hi all,
> >
> > I have an application with multiple forms. This application can be smart
> > minimized.
> > Is there any API that I could use in the application to determine when is
> > this application is activated again?
> >
> > Thanks.

>
>
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off