Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
4/8/2010

A developer can customize what happens in response to a user selecting a hyperlink in the calendar application. The developer must provide event handlers to implement the desired behavior.

The hyperlink can be an e-mail address or a phone number.

Implementing the Event Handler

The developer must provide event handlers to implement the desired behavior.

The interface must be placed into a COM object, and the CLSID of the COM object must be placed into the registry.

When a user selects a hyperlink with the Actionkey or by tapping the link, the VK_ACTIONevent is generated. When the calendar application receives this event, and there are registered event handlers, the application invokes the appropriate handler, either OnEmailor OnPhoneNumber. The application places information about the calendar item and the hyperlink into the parameters that it passes to the handler.

The handler does not have to handle all hyperlinks. If it is invoked for a hyperlink that it does not handle, it should return a status of E_FAIL. When the calendar application sees this status, it will provide default behavior.

See Also