perhaps you could hide it a different way, using user32.dll...
Lemme see ill make some code..
[edit]
This function i made does the same thing, so its not a problem with DarkBasic, rather a "feature" in Windows.
Load dll "user32.dll",1
Function ShowCursor(bShow as boolean)
b = Call DLL(1, "ShowCursor", bShow)
Endfunction b
I would just do:
If mousey()>3 then Hide mouse else show mouse
If the user moves the mouse up, the mouse will reappear before you get to the title bar.
"All programmers are playwrites and all computers are lousy actors" -Anon