I have a question on using IconTabBar
I want to control the switching process of the tabs as follows:
if I want to switch to another tab, there will be a MessageBox showing up, asking if I am sure to leave the current tab, if I press OK, then the tab will be switched. If I press cancel, I will stay in the current tab.
I have tried a few methods, but failed. I wonder if there is a way to achieve this?