2023.03.04
 
text를 클릭했을 때 대화창 띄우기
💥hwndxxx는 window handle값을 xxx에 넣으라는 뜻

Gui, Add, text, w200  cBlue gzLink hwndXXX, click here ; Gui object의 id라고 생각하자; hwnd는 접두어
Gui, show
return

zLink:
	MouseGetPos,,,, Hclick,2 ; 마우스가 가리키는 곳의 window id라고 생각하자.
	ztmp:="XXX"
	MsgBox,% Hclick
	if (Hclick = %ztmp%) {
		MsgBox, clicked
	}
return

^ESC:: ExitApp

output screencapture

 

Posted by Weneedu
,


출처: https://privatedevelopnote.tistory.com/81 [개인노트]