I've been racking my brain trying to figure out how to do this. I have included the following example:
AutoIt
#include <WindowsConstants.au3> #include <GUIConstantsEx.au3> #include <ListViewConstants.au3> #include <TabConstants.au3> $FormMain = GUICreate("EX", 620, 440, 192, 110,$WS_MAXIMIZEBOX) $Tab1 = GUICtrlCreateTab(8, 24, 601, 401) GUICtrlCreateTabItem("List1") $ListView1 = GUICtrlCreateListView("", 16, 50, 586, 382) GUICtrlCreateTabItem("List2") $ListView2 = GUICtrlCreateListView("", 16, 50, 586, 382) GUICtrlCreateTabItem("") GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd
When you launch this, it looks fine, but when you maximize the GUI, everything else reforms the size other than the tabs. Any suggestions?