Mouse Outside Window

BlitzPlus Forums/BlitzPlus Programming/Mouse Outside Window

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Hi Jay

I dunno whom the question was directed to, If it was me...I just checked out the code I implemented and basicly the way I did my thing at the time was:

1. is mouse over window (yes goto 2)
2. is window active (yes goto 3)
3. avoid using blitz plus events and simply use the mousedown(), mousehit(), or mouseup() functions to test wether the mouse has been pressed.

I remember at the time this worked fine (due to technicalities that go beyond the scope of this thread, It wont compile now), if you have any probs, post another jobber.

Ive also seem to remeber that the gadget screen x/y returns the top corner of the inside of the window and not the top corner of the title bar, but I could be wrong, you might wanna make sure.

Good Luck

Mr Brine