Hi,

I was wondering if there are something like events in VC++. For example, I'd like to be able to execute a function once my device becomes disconected/offline, and execute a different function once the device is online again. I'm programming on Windows Mobile.

I'm sorry if this is an obvious question, I'm new to VC++

Thank you!