Code : Tout sélectionner
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <StaticConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=C:\Users\Administrateur\Documents\Exemple.kxf
$Form2 = GUICreate("Form2", 444, 340, 706, 250)
$Bienvenue = GUICtrlCreateLabel(" Choisissez une des 4options", 40, 16, 375, 17)
$option1 = GUICtrlCreateGroup("option1", 8, 40, 425, 73)
$option1 = GUICtrlCreateButton("option1", 16, 56, 89, 49, $WS_GROUP)
$Label1 = GUICtrlCreateLabel("Description --------------------------------------------------------------------", 112, 63, 305, 17)
$Label2 = GUICtrlCreateLabel("de l'option 1 ------------------------------------------------------------------", 112, 83, 305, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$option2 = GUICtrlCreateGroup("option2", 8, 112, 425, 73)
$option2 = GUICtrlCreateButton("option2", 16, 128, 89, 49, $WS_GROUP)
$Label2 = GUICtrlCreateLabel("Description --------------------------------------------------------------------", 112, 135, 305, 17)
$Label3 = GUICtrlCreateLabel("de l'option 1 ------------------------------------------------------------------", 112, 155, 305, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$option3 = GUICtrlCreateGroup("option3", 8, 184, 425, 73)
$option3 = GUICtrlCreateButton("option3", 16, 200, 89, 49, $WS_GROUP)
$Label2 = GUICtrlCreateLabel("Description --------------------------------------------------------------------", 112, 207, 305, 17)
$Label3 = GUICtrlCreateLabel("de l'option 1 ------------------------------------------------------------------", 112, 227, 305, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
$option4 = GUICtrlCreateGroup("option4", 8, 256, 425, 73)
$option4 = GUICtrlCreateButton("option4", 16, 272, 89, 49, $WS_GROUP)
$Label2 = GUICtrlCreateLabel("Description --------------------------------------------------------------------", 112, 279, 305, 17)
$Label3 = GUICtrlCreateLabel("de l'option 1 ------------------------------------------------------------------", 112, 299, 305, 17)
GUICtrlCreateGroup("", -99, -99, 1, 1)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd