M-Files UI Extensibility Framework
Register Method
IEvents Interface : Register Method
The event type to handle.
The event sink to register.
Description
Registers a handler object/function for handling the specified type of events.
Syntax
Visual Basic
Public Function Register( _
   ByVal eventToListen As Event, _
   ByVal eventSink As Object _
) As Long
Parameters
eventToListen
ValueDescription
Event_ActiveListingChangedOnActiveListingChanged Event
Event_AddObjectFileOnAddObjectFile Event
Event_AddObjectsToFavoritesOnAddObjectsToFavorites Event
Event_AddObjectToFavoritesOnAddObjectsToFavorites Event
Event_AutoInstallScheduleChangedOnAutoInstallScheduleChanged Event
Event_BuiltinCommandOnBuiltinCommand Event
Event_ChangeVaultLanguageOnChangeVaultLanguage Event
Event_CheckInObjectOnCheckInObject Event
Event_CheckInObjectsOnCheckInObjects Event
Event_CheckOutObjectOnCheckOutObject Event
Event_CheckOutObjectsOnCheckOutObjects Event
Event_CloseWindowOnCloseWindow Event
Event_ContentChangedOnContentChanged Event
Event_CopyConflictObjectAsNewVersionToBaseObjectOnCopyConflictObjectAsNewVersionToBaseObject Event
Event_CreateObjectOnCreateObject Event
Event_CrossApplicationBroadcastOnCrossApplicationBroadcast Event
Event_CrossApplicationNotificationOnCrossApplicationNotification Event
Event_CustomCommandOnCustomCommand Event
Event_DestroyObjectOnDestroyObject Event
Event_DestroyObjectsOnDestroyObjects Event
Event_DestroyObjectVersionOnDestroyObjectVersion Event
Event_DestroyObjectVersionsOnDestroyObjectVersions Event
Event_DragEnteredOnDragEntered Event
Event_DragLeftOnDragLeft Event
Event_DragOverOnDragOver Event
Event_FacetValuesErrorOnFacetValuesError Event
Event_FacetValuesReadyOnFacetValuesReady Event
Event_HidePaneOnHidePane Event
Event_HideTabOnHideTab Event
Event_ItemsDroppedOnItemsDropped Event
Event_ListingActivatedOnListingActivated Event
Event_ListingDeactivatedOnListingDeactivated Event
Event_ListingUpdatedOnListingUpdated Event
Event_LoggedInOnLoggedIn Event
Event_LogOutOnLogOut Event
Event_MinimizedStateChangedOnMinimizedStateChanged Event (ShellPaneContainer)
Event_ModifyObjectVersionLabelsOnModifyObjectVersionLabels Event
Event_NewBottomPaneOnNewBottomPane Event
Event_NewCommandsOnNewCommands Event
Event_NewCommonDialogShellFrameOnNewCommonDialogShellFrame Event
Event_NewEmbeddedShellFrameOnNewEmbeddedShellFrame Event
Event_NewNormalShellFrameOnNewNormalShellFrame Event
Event_NewRightPaneOnNewRightPane Event
Event_NewSearchPaneOnNewSearchPane Event
Event_NewShellFrameOnNewShellFrame Event
Event_NewShellListingOnNewShellListing Event
Event_NewSpecialShellFrameOnNewSpecialShellFrame Event
Event_NewTabOnNewTab Event
Event_NewTaskPaneOnNewTaskPane Event
Event_NewTopPaneOnNewTopPane Event
Event_NewVaultEntryOnNewVaultEntry Event
Event_NewVersionBasedOnConflictObjectCreatedOnNewVersionBasedOnConflictObjectCreated Event
Event_NotificationOnNotification Event
Event_ObjectAddedToFavoritesOnObjectAddedToFavorites Event
Event_ObjectCheckedInOnObjectCheckedIn Event
Event_ObjectCheckedOutOnObjectCheckedOut Event
Event_ObjectCheckoutsUndoneOnObjectCheckoutsUndone Event
Event_ObjectCheckoutUndoneOnObjectCheckoutUndone Event
Event_ObjectCreatedOnObjectCreated Event
Event_ObjectDestroyedOnObjectDestroyed Event
Event_ObjectFileAddedOnObjectFileAdded Event
Event_ObjectFileRemovedOnObjectFileRemoved Event
Event_ObjectFileRenamedOnObjectFileRenamed Event
Event_ObjectLevelPropertySetOnObjectLevelPropertySet Event
Event_ObjectOfflineAvailabilityRemovedOnObjectOfflineAvailabilityRemoved Event
Event_ObjectOfflineAvailabilitySetOnObjectOfflineAvailabilitySet Event
Event_ObjectRemovedOnObjectRemoved Event
Event_ObjectRemovedFromFavoritesOnObjectRemovedFromFavorites Event
Event_ObjectsAddedToFavoritesOnObjectsAddedToFavorites Event
Event_ObjectsCheckedInOnObjectsCheckedIn Event
Event_ObjectsCheckedOutOnObjectsCheckedOut Event
Event_ObjectsDestroyedOnObjectsDestroyed Event
Event_ObjectsRemovedOnObjectsRemoved Event
Event_ObjectsRemovedFromFavoritesOnObjectsRemovedFromFavorites Event
Event_ObjectsUndeletedOnObjectsUndeleted Event
Event_ObjectUndeletedOnObjectUndeleted Event
Event_ObjectVersionDestroyedOnObjectVersionDestroyed Event
Event_ObjectVersionLabelsModifiedOnObjectVersionLabelsModified Event
Event_ObjectVersionPermissionsSetOnObjectVersionPermissionsSet Event
Event_ObjectVersionRolledBackOnObjectVersionRolledBack Event
Event_ObjectVersionsDestroyedOnObjectVersionsDestroyed Event
Event_OfflineSyncStartedOnOfflineSyncStarted Event
Event_OfflineSyncStoppedOnOfflineSyncStopped Event
Event_PaneResizedOnPaneResized Event
Event_PropertiesOfObjectVersionSetOnPropertiesOfObjectVersionSet Event
Event_PropertiesOfObjectVersionsSetOnPropertiesOfObjectVersionsSet Event
Event_RemoveObjectOnRemoveObject Event
Event_RemoveObjectFileOnRemoveObjectFile Event
Event_RemoveObjectFromFavoritesOnRemoveObjectFromFavorites Event
Event_RemoveObjectOfflineAvailabilityOnRemoveObjectOfflineAvailability Event
Event_RemoveObjectsOnRemoveObjects Event
Event_RemoveObjectsFromFavoritesOnRemoveObjectsFromFavorites Event
Event_RenameObjectFileOnRenameObjectFile Event
Event_RollBackObjectVersionOnRollBackObjectVersion Event
Event_SearchCriteriaChangedOnSearchCriteriaChanged Event
Event_SearchCriteriaResetOnSearchCriteriaReset Event
Event_SearchInitiatedOnSearchInitiated Event
Event_SearchReadyOnSearchReady Event
Event_SelectedItemsChangedOnSelectedItemsChanged Event
Event_SelectionChangedOnSelectionChanged Event
Event_SetObjectLevelPropertyOnSetObjectLevelProperty Event
Event_SetObjectOfflineAvailabilityOnSetObjectOfflineAvailability Event
Event_SetObjectVersionPermissionsOnSetObjectVersionPermissions Event
Event_SetPropertiesOfObjectVersionOnSetPropertiesOfObjectVersion Event
Event_SetPropertiesOfObjectVersionsOnSetPropertiesOfObjectVersions Event
Event_ShowContextMenuOnShowContextMenu Event
Event_ShowMainMenuOnShowMainMenu Event (ShellFrame), OnShowMainMenu Event (ShellListing)
Event_ShowPaneOnShowPane Event
Event_ShowTabOnShowTab Event
Event_StartedOnStarted Event
Event_StopOnStop Event
Event_TabSelectedOnTabSelected Event (ShellPaneContainer)OnTabSelected Event (ShellPaneTab)
Event_TabUnselectedOnTabUnselected Event (ShellPaneContainer)OnTabUnselected Event (ShellPaneTab)
Event_TemporarySearchModifiedOnTemporarySearchModified Event
Event_UndeleteObjectOnUndeleteObject Event
Event_UndeleteObjectsOnUndeleteObjects Event
Event_UndoObjectCheckoutOnUndoObjectCheckout Event
Event_UndoObjectCheckoutsOnUndoObjectCheckouts Event
Event_VaultLanguageChangedOnVaultLanguageChanged Event
Event_ViewLocationChangedOnViewLocationChanged Event
Event_ViewLocationChangedAsyncOnViewLocationChangedAsync Event
The event type to handle.
eventSink
The event sink to register.
Return Type
Returns handle to the registered event handler. This handle can be used later to unregister the handler.
See Also

IEvents Interface  | IEvents Members