Up |
_CRwindowInTab
Creates and links a new window for a tab in a tabs control. The window size is the tab size.
One created, any controls can be added in it, like all window controls.
When the user clicks on this tab, this window will be shown in the tabs control.
When the user clicks on other tab, this window will be hidden.
Prototype :
fun [Chn ObjTab I I] ObjWin
- Chn : the owner channel.
- ObjTab : the parent tabs control.
- I : the tab index (the first one is 0) where attach the window control.
- I : a flag. Any flag like _CRwindow but typically WN_CHILDINSIDE should be the most common used flag here.
Return : ObjWin the new window control if success, NIL otherwise
See also :
Example :
Note :
When the tab is deleted, the link is also removed but not the window control itself.