mouse_event() parameters

BlitzMax Forums/BlitzMax Programming/mouse_event() parameters

wmaass(Posted 2009) [#1]
Does dwExtraInfo% in the function below allow the passing of data? If so how is it accessed?

Extern "win32"
	Function mouse_event%(dwFlags%, dx%, dy%, cButtons%, dwExtraInfo%)
End Extern



grable(Posted 2009) [#2]
its probably just a pointer...

And its related to GetMessageExtraInfo and SetMessageExtraInfo , which means each thread gets its own ExtraInfo...

Btw, did you notice that it has been superseded by SendInput for Win2k?


wmaass(Posted 2009) [#3]
Yeah, I read that it had been deprecated. I'll look at SendInput, thanks for the tip.