Skip to content
MSN

X-GUI.dll

A TG007 community discussion started by SpAzZ.

Discussion 3 posts
Page 1 of 1
Open
Topic #3501 · 3 published posts · 590 views

Hello everyone, its me again. This time i require some help with X-GUI.dll

I can't seem to get the coding right or something. I have the coding i am using to one of my friends, and it worked for them, but it wont work for me. No Clue what the problem is.

 

menu channel {
 Open Website in script:{
   var %a = $$?="website url"
   window -p @navigator
   echo -a $dll(nHTMLn_2.95.dll,attach,$window(@navigator).hwnd)
   echo -a $dll(nHTMLn_2.95.dll,navigate,%a)
 }
 Mouse Window:window -p @mouse
}
menu @mouse {
 Dclick: echo -s X = $mouse.x | echo -s Y = $mouse.y
}
ON *:SIGNAL:xGUI:{
 if ($1 == @navigator) && ($2 == rclick) && ($3 == 1) { echo -a $dll(nHTMLn_2.95.dll,navigate,back) }
 elseif ($1 == @navigator) && ($2 == rclick) && ($3 == 2) { echo -a $dll(nHTMLn_2.95.dll,navigate,forward) }
 elseif ($1 == @navigator) && ($2 == rclick) && ($3 == 3) { echo -a $dll(nHTMLn_2.95.dll,navigate,refresh) }
 elseif ($1 == @navigator) && ($2 == rclick) && ($3 == 4) { echo -a $dll(nHTMLn_2.95.dll,navigate,home) }
 elseif ($1 == @navigator) && ($2 == rclick) && ($3 == 5) { echo -a $dll(nHTMLn_2.95.dll,navigate,stop) }
 elseif ($1 == @navigator) && ($2 == rclick) && ($3 == 6) { echo -a $dll(nHTMLn_2.95.dll,navigate,search) }
 else { halt }
}
alias addbuttons {
 dll x-GUI.dll Mark @navigator
 dll x-GUI.dll Create @navigator > button 1 0 0 30 20 flat > Back
 dll x-GUI.dll Create @navigator > button 2 30 0 30 20 flat > Forward
 dll x-GUI.dll Create @navigator > button 3 60 0 30 20 flat > Refresh
 dll x-GUI.dll Create @navigator > button 4 90 0 30 20 flat > Home
 dll x-GUI.dll Create @navigator > button 5 120 0 30 20 flat > Stop
 dll x-GUI.dll Create @navigator > button 6 150 0 30 20 flat > Search
 dll x-GUI.dll Create @navigator > text 7 180 0 50 20 center > Right click to use
}

 

Anyone see an error in this?

 

Thanks in advanced,

--SpAzZ--

i'm guessing this is picwin, you'd be better off asking this question on say mIRCscripts.org forum because those guys know a lot more about picwin then we do.

oooo I love picwin!! I just always code my own controls and not use X-GUI.dll since it's not that picwinish... Sorry I can't help you. I suggest going to mircscripts.org too since a lot of people use X-GUI.dll there

err0r: 666 + 1337 = 2003 backwards is 3002 which is how many people ozzy has banned from tg
err0r: spooky