Blooming mouse in windowed mode

Blitz3D Forums/Blitz3D Programming/Blooming mouse in windowed mode

Damien Sturdy(Posted 2005) [#1]
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!


GfK(Posted 2005) [#2]
I think James Boyd put something in the code archives that does this....


Damien Sturdy(Posted 2005) [#3]
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*


fredborg(Posted 2005) [#4]
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.


wizzlefish(Posted 2005) [#5]
Hey fredborg - when's your website going to be back up?


JoshK(Posted 2005) [#6]
WinAPI:

GetCursorPos(point)


Damien Sturdy(Posted 2005) [#7]
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 :)