#include <GuiButton.au3>
#include <GUIConstantsEx.au3>

GUICreate("My GUI Button",300,200,0,@DesktopHeight/2)
Opt("GUICoordMode", 2)

Global $Button_1 = GUICtrlCreateButton("ja", 10, 30, 100)
$yy=_GUICtrlButton_GetFocus($Button_1 )
GUICtrlSetBkColor( -1, 0xFEFE00 )
$yyy=_GUICtrlButton_GetFocus($Button_1 )

Global $Button_2 = GUICtrlCreateButton("nein", 0, -1)
$zz=_GUICtrlButton_GetFocus($Button_2 )
GUICtrlSetBkColor(  -1, 0xFEFE00 )

GUISetState()
$yyyy=_GUICtrlButton_GetFocus($Button_1 )
$zzzz=_GUICtrlButton_GetFocus($Button_2 )

 MsgBox(0,"","$yy::"&$yy&"   $yyy:: "&$yyy&"   $yyyy:: "&$yyyy&"   $zzzz:: "&$zzzz)

While 1
$msg = GUIGetMsg()
If $msg = $GUI_EVENT_CLOSE Then ExitLoop
WEnd
