Skip to content

XTPControlNotify Enumeration

Description

Notification codes used by the ControlNotify event to notify the CommandBars of various actions.

Members

Member Description
XTP_EN_SPINUP (Edit control notification) Sent when the "Up" spin button of the edit control is pressed.
XTP_EN_SPINDOWN (Edit control notification) Sent when the "Down" spin button of the edit control is pressed.
XTP_EN_BUDDYBUTTONCLICK (Edit control notification) Sent when the attached buddy button of the edit control is clicked.
XTP_GN_PREVIEWSTART (Gallery control notification) Sent when the user first hovers over an item in the gallery so the preview must start.
XTP_GN_PREVIEWCANCEL (Gallery control notification) Sent when the gallery is closed or when the mouse leaves the gallery area.
XTP_GN_PREVIEWAPPLY (Gallery control notification) Sent when an item in the gallery is clicked.
XTP_GN_PREVIEWCHANGE (Gallery control notification) Sent when the selected item of the gallery changed while in preview state.
XTP_GN_STARTDRAG (Gallery control notification) Sent when the user drags an item from the gallery.
XTP_GN_SELCHANGE (Gallery control notification) Sent when the selection has changed in the gallery.
XTP_EN_CHANGE (Edit control notification) Sent when the contents of the edit control have changed.
XTP_EN_SETFOCUS (Edit control notification) Sent when focus has been set to an edit control.
XTP_EN_KILLFOCUS (Edit control notification) Sent when focus has been lost from an edit control.
XTP_CBN_EDITCHANGE (Combo control notification) Sent when the contents of a Combo control have changed.
XTP_CBN_SETFOCUS (Combo control notification) Sent when focus has been set to a Combo control.
XTP_CBN_KILLFOCUS (Combo control notification) Sent when focus has been lost from a Combo control.
XTP_CBN_CLOSEUP (Combo control notification) Sent when the dropdown of a Combo control has closed.
XTP_CBN_DROPDOWN (Combo control notification) Sent when the dropdown of a Combo control has opened/dropped down.
XTP_BS_TABCHANGED (Backstage View notification) Sent when a tab in the backstage view has changed. This is only for tabs; commands will use the Execute event.

Example

Private Sub CommandBars_ControlNotify(ByVal Control As XtremeCommandBars.ICommandBarControl, ByVal Code As Long, ByVal NotifyData As Variant, Handled As Variant)  
    If (Code = XTP_BS_TABCHANGED) Then  
        Debug.Print Control.Caption  
    End If  
End Sub

Remarks

Notification codes used by the ControlNotify event to notify the CommandBars of various actions.

See Also

ControlNotify Event


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.