Цитата sashadeg:
Как можно создать такую же мишень как в Autoit Window Info »
|
Прикрепил архив с GUIFinder UDF.
Пример:
Код:
#include "GUIFinder.au3"
$hGUI = GUICreate("GUICtrlCreateFinder Demo")
$hFinder = GUICtrlCreateFinder(2, 2)
$hHwndInp = GUICtrlCreateInput("", 40, 40, 100, 20)
$hClassInp = GUICtrlCreateInput("", 40, 62, 100, 20)
$hParInp = GUICtrlCreateInput("", 40, 84, 100, 20)
$hTitleInp = GUICtrlCreateInput("", 40, 106, 100, 20)
GUISetState()
While 1
Switch GUIGetMsg()
Case -3
Exit
EndSwitch
If $FINDER_OPEN And (String($FINDER_HWND) <> GUICtrlRead($hHwndInp)) Then
GUICtrlSetData($hHwndInp, $FINDER_HWND)
GUICtrlSetData($hClassInp, $FINDER_CLASS)
GUICtrlSetData($hParInp, $FINDER_PARENT)
GUICtrlSetData($hTitleInp, $FINDER_TITLE)
EndIf
WEnd
Источник.