How to detect mouse out of window?

BlitzMax Forums/BlitzMax Programming/How to detect mouse out of window?

pah you chose the easy code, just "hide the cursor" instead of neatly slide it in and out, well my games will poo poo on yours just because of this single feature ;-p