Use the function
ProNotificationSet() to assign a callback function to be called when the application switches from one tab to the other.
If the notification argument type is set to
PRO_RIBBON_TAB_SWITCH, a registered call back function whose signature matches
ProRibbonTabSwitchAction() is called. The “(Switch) from Tab” and “(Switch) to Tab” information is provided to the call back function, through the function arguments, whenever a Tab switch happens.
Use the function
ProNotificationUnset() to cancel a notification.
For more information on using notifications see the section
Event-driven Programming: Notifications.