ajit Posted February 17, 2010 Share Posted February 17, 2010 #include <ListViewConstants.au3> #include <TabConstants.au3> #include <GUIConstants.au3> ; GUI $Admin = GuiCreate("ADMINISTRATOR", 1000, 700) ; TAB $tabs = GuiCtrlCreateTab(10, 10, 986, 600, $TCS_FIXEDWIDTH) $TAB_1 = GuiCtrlCreateTabItem("Tab 1") $MTLIST = GuiCtrlCreateListView(" Date | Doctor | Voice File | Duration | Size(KB) | User | Status | Text File | Default Template |", 10, 40, 982, 568, -1, BitOR($LVS_EX_FULLROWSELECT, $LVS_EX_GRIDLINES, $LVS_EX_CHECKBOXES )) ;998 $TAB_2 = GuiCtrlCreateTabItem("Tab 2") GuiSetState() While 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop EndSelect WEnd GUIDelete() Hi: I want my tabs to be created and closed(deleted/destroyed) with an icon on the tab button, like in IE-8 where one creates a new tab and closes by clicking on 'X' sign. Is it possible? Please help. Ajit Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now