Hello i have this GUI
Global $GUIListeConfigs = GUICreate("Configs", 319, 156, 684, 408)
$GroupBox1 = GUICtrlCreateGroup("", 8, 1, 305, 97)
Global $Combo1 = GUICtrlCreateCombo("", 72, 56, 169, 25)
$Label1 = GUICtrlCreateLabel("Selectionnez une Configuration", 48, 16, 226, 24)
GUICtrlSetFont(-1, 12, 400, 0, "MS Sans Serif")
GUICtrlCreateGroup("", -99, -99, 1, 1)
Global $ButtonValiderCreateTrajet = GUICtrlCreateButton("&OK", 73, 107, 75, 25)
Global $ButtonCancelCreateTrajet = GUICtrlCreateButton("&Cancel", 170, 107, 75, 25)
#EndRegion ### END Koda GUI section ###
And i have make this
While 1
$nMsg = GUIGetMsg(1)
Select
Case $nMsg[0] = $GUI_EVENT_CLOSE
If $nMsg[1] = $GUIListeConfigs Then
GUISetState(@SW_hide, $GUIListeConfigs)
Else
Exit
EndIf
Case $nMsg[0] = $ButtonCancelCreateTrajet
GUISetState(@SW_SHOW, $GUIListeConfigs)
EndSelect
WEnd
But if i click on $ButtonCancelCreateTrajet and not close windows ...
Can you tell me why ?
THX