Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called by the editor when a selection's type changes.
Syntax
HRESULT retVal = object.OnChangeType(eType, pIListener);
Parameters
eType [in]
Type: SELECTION_TYPESELECTION_TYPE enumeration that specifies the new selection type.
pIListener [in]
Type: ISelectionServicesListenerOptional. Pointer to an ISelectionServicesListener interface to register with the new selection. Can be set to NULL.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Remarks
The ISelectionServices::SetSelectionType method changes the selection type and will trigger a call to this method.
Use this method to implement any custom processing that should take place when a selection is initiated or changes type.