when you say leaving the blitz3d window, you mean while still active? if so! heres one possable method.
you would need to create a .decls
now get the blitz3d hwnd pointer using SystemProperty("AppHwnd") and check against the hwnd pointer returned from the api call WindowFromPoint()
this is untested but should work.
kev
you would need to create a .decls
.lib "user32.dll" GetCursorPos%(lppoint*):"GetCursorPos" WindowFromPoint%(lppoint*):"WindowFromPoint"
now get the blitz3d hwnd pointer using SystemProperty("AppHwnd") and check against the hwnd pointer returned from the api call WindowFromPoint()
bank = createbank(8) GetCursorPos(bank) hwnd_under_pointer = WindowFromPoint(bank) blitz3d_hwnd = SystemProperty("AppHwnd")
this is untested but should work.
kev