hmm
this must be some kind of craft
i found here typical tab selection only
' // Tab control selection changed
CASE %TCN_SELCHANGE
IF @pnmhdr.idFrom = %IDC_TABMDI THEN
' // Identify the selected tab
nTab = TabCtrl_GetCurSel(pSed.hTabMdi)
' // Activate the associated edit control
IF pSed.TabFilePaths.Count => nTab + 1 THEN
' vPath = pSed.TabFilePaths.Item(nTab + 1)
pTabFilePaths = pSed.TabFilePaths
vPath = pTabFilePaths.Item(nTab + 1)
CSED_TabMdiActivateWindow(VARIANT$$(vPath))
END IF
END IF