well 2 things here i no how to make buttons( and its not wat ur thinking of) and editboxes meaning, not like a chat room like any random point on a window?
buttons very easy-
buttons are all about coloring
i made a paint script for mirc that just changes the left side and top color or the button to a (mirc color number 14) dark gray and have the right side bottom side stay white (mirc color 0)
so it will start all sides are white and than changes the top and left side of the when u click it!
ok this is sumtin i just learned its like the on click pretty much for the window
menu @thewindow {
sclick: {
use $mouse.x $mouse.y to find out where on the window that u LEFT BUTTON DOWN on, easy way to make lines through clicking on certain points
so wat ya can do is set them
set %mouse.x $mouse.x
set %mouse.y $mouse.y
and go to an alias which changes top and left side
}
uclick: {
use $mouse.x $mouse.y to find out where on the window that u LEFT BUTTON UP on, easy way to make lines through clicking on certain points
set %umouse.x $mouse.x
set %umouse.y $mouse.y
and go to an alias which changes top and left back to reg
}
}
this can be done for multiple buttons
all u need is to find the xy of the top left of the button and the xy of the bottom right and say
if (%mouse.x > x1) && (%mouse.x < x2) && (%mouse.y > y1) && (%mouse.y < y2) {
than make the line change for this button very easy sript if u no wat ur doing
PLEASE READ /help /windows
reading this will help ALOT!