IExchExtUserEvents::OnSelectionChange

Enables the extension object to enable, disable, or update visual elements.

Quick Info

See IExchExtUserEvents : IUnknown.

VOID OnSelectionChange(
  LPEXCHEXTCALLBACK lpeecb  
);
 

Parameters

lpeecb
[in] Pointer to an IExchExtCallback interface that is used to determine information about the currently selected item.

Remarks

Microsoft Exchange calls the IExchExtUserEvents::OnSelectionChange method when the currently selected message, folder or store changes in a Microsoft Exchange window. This method is also called when a selection in a list box changes or when the current selection of text in a form changes. For example, this method is called when an item is selected in a Viewer list box, or when text is selected in a note form. It is also called when the user changes the currently selected message or folder.

This method might be called very frequently and should therefore be implemented efficiently.

This method should call the IExchExtCallback::GetObject method to determine the identifier of the newly selected object and its container.

See Also

IExchExtCallback::GetObject