Blooming mouse in windowed mode
Blitz3D Forums/Blitz3D Programming/Blooming mouse in windowed mode
| ||
Hey peeps... Anyone know of a way to detect if the mouse is outside the application window? i need it to be DLL less if possible, and for best results, adding little click buttons to the side of the screen is a very bad idea :( What are the techniques? Cheers Peeps! |
| ||
I think James Boyd put something in the code archives that does this.... |
| ||
Sorry, for some silly reason didnt think to check there! *wonders off* cheers... [edit] Sorry, i couldnt find anything... *mumbles bout frigging search feature again* |
| ||
Hi, Although this code archives entry does a lot of stuff you probably don't need, it also includes parts which could be used to check if the mouse is outside the window. http://www.blitzbasic.com/codearcs/codearcs.php?code=829 Give a shout if you need extra help. |
| ||
Hey fredborg - when's your website going to be back up? |
| ||
WinAPI: GetCursorPos(point) |
| ||
Fredborg: that isnt something ive played with but il get to work with it later, my editor is just much better in windowed mode, but the camera shoots off when you move to click another window :) il have that sorted later, thanks again :D Halo, cheers :) looks like thats the key point to how what fredborg posted works :) |