May 07, 2024, 11:34:36 AM

News:

Own IWBasic 2.x ? -----> Get your free upgrade to 3.x now.........


OnMouseMove parameters

Started by Bruce Peaslee, January 23, 2006, 04:06:40 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

Bruce Peaslee

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?
Bruce Peaslee
"Born too loose."
iTired (There's a nap for that.)
Well, I headed for Las Vegas
Only made it out to Needles

Zen

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

Bruce Peaslee

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ÂÃ,  ÂÃ, :-[
Bruce Peaslee
"Born too loose."
iTired (There's a nap for that.)
Well, I headed for Las Vegas
Only made it out to Needles