Добрый день!
Подскажите, как получить style кнопки
Пробовал так:
Получаю 0:
Как тему удалить не знаю, разобрался, вопрос не актуален!
Подскажите, как получить style кнопки
Пробовал так:
Код:
#include <GUIConstantsEx.au3>
#include <GuiButton.au3>
#include <WindowsConstants.au3>
#include <Constants.au3> ; Do not forget these include files!
#include <WinAPI.au3>
#include <WinAPIError.au3>
$hWnd = WinWait("[CLASS:TOpticalConnectorLayoutView]","")
;~ WinActivate($hWnd)
$hB1 = ControlGetHandle($hWnd,"",'[CLASS:TAButton; INSTANCE:5]')
ConsoleWrite ($hB1)
ConsoleWrite ('::')
$iStyle = _WinAPI_GetWindowLong(GUICtrlGetHandle($hB1), $GWL_STYLE)
ConsoleWrite ($iStyle)
ConsoleWrite ('::')
$iStyle1 = _WinAPI_GetLastErrorMessage ( )
ConsoleWrite ($iStyle1)
Как тему удалить не знаю, разобрался, вопрос не актуален!
Последнее редактирование: