create:
guierr = "SYNTAX"
guiheading = 1
mybrowser = ARG(2)
guicreatewindow("NORMAL", ARG(1))
RETURN
seturl:
mybrowser = ARG(1)
guisetctlvalue("MyBrowser")
RETURN
destroy:
guidestroywindow()
RETURN
wm_size:
IF guiinfo("HANDLE", "MyBrowser", 2) \== "" THEN
guisetctlplacement("MyBrowser", ARG(1), ARG(2), ARG(3), ARG(4))
RETURN "" |