с помощь GUICtrlSetBkColor можно назначить цвет кнопки, а как можно получить этот цвет обратно?
в данном случае желательно получить в окно сообщения 0xFFEBCC
Код:
#include <ButtonConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
$1_ogange='0xFFEBCC'
$Form1 = GUICreate("Form1", 367, 202, 192, 124)
$Button1 = GUICtrlCreateButton("Button1", 16, 8, 273, 145)
GUICtrlSetBkColor($Button1, $1_ogange)
GUISetState(@SW_SHOW)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $Button1
MsgBox(0,'','цвет кнопки?')
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd
в данном случае желательно получить в окно сообщения 0xFFEBCC