回复 1# kv998 #include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <TabConstants.au3>
#include <WindowsConstants.au3>
$Form1 = GUICreate("所谓的一窗两背景色", 374, 307, 192, 124)
$Tab1 = GUICtrlCreateTab(0, -8, 377, 273)
GUICtrlSetResizing(-1, $GUI_DOCKWIDTH+$GUI_DOCKHEIGHT)
GUICtrlCreateTabItem("")
$Button1 = GUICtrlCreateButton("Button1", 200, 280, 75, 25, $WS_GROUP)
$Button2 = GUICtrlCreateButton("Button2", 288, 280, 75, 25, $WS_GROUP)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
|