System Notification Events...

  • Thread starter Thread starter Brian H
  • Start date Start date
B

Brian H

I understand how the notification events work, for example, setting my app
to run on Sync End, et.al. Is it possible to capture these events in my app
(assuming, of course, it is running)?

Thank you!
Brian
 
Hi Maarten,

Thanks! I looked at it; I think I was looking for the System Events ...
after digging around OpenNetCF I see Alex has a PowerAware sample -- this
seems to be what I'm after. But, is there a way to detect any of the other
events? IE, to register my app I can use any of the following event types:

Const NOTIFICATION_EVENT_NONE = 0
Const NOTIFICATION_EVENT_TIME_CHANGE = 1
Const NOTIFICATION_EVENT_SYNC_END = 2
Const NOTIFICATION_EVENT_DEVICE_CHANGE = 7
Const NOTIFICATION_EVENT_RS232_DETECTED = 9
Const NOTIFICATION_EVENT_RESTORE_END = 10
Const NOTIFICATION_EVENT_WAKEUP = 11 'PocketPC only
Const NOTIFICATION_EVENT_TZ_CHANGE = 12 'PocketPC only

Is it possible to capture any of these events with an event handler?

Brian
 
Thanks Robert--

Actually I just posted another thread above about this, but where my point
of confusion on this is how can the app "know" (ie receive an event) if it's
already running? If the app is running I know it receives focus when the
CeRunAppAtEvent is fired -- but I'm not sure how to get the app to be aware.

Thank you,
Brian
 

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

Back
Top