IonicWind Software

Aurora Compiler => GUI => Topic started by: Bruce Peaslee on January 23, 2006, 04:06:40 PM

Title: OnMouseMove parameters
Post by: Bruce Peaslee on January 23, 2006, 04:06:40 PM
OnMouseMove(int x, int y, int flags), int

It's giving me a little trouble. Are the x- and y-coordinates relative to the screen or to the window? What are the possible flag values?
Title: Re: OnMouseMove parameters
Post by: Zen on January 23, 2006, 06:22:58 PM
i think the flags is... if the mouse button is clicked.


if(flags = 1) {
   MessageBox(0,str$(x) + " " + str$(),"Info");
}


I think the x and y are relative to the windows client area not the screen as it is a class method.

Lewis
Title: Re: OnMouseMove parameters
Post by: Bruce Peaslee on January 24, 2006, 12:13:47 PM
Quote from: Lewis on January 23, 2006, 06:22:58 PM
iI think the x and y are relative to the windows client area not the screen as it is a class method.

Lewis

Yes, now that I've added correctly, it worksÂÃ,  ÂÃ, :-[