Hi,
The thing is, SetBlitz3DHWND doesn't actually set the HWND used by Blitz3D - it just sets a parent HWND, and setting the focus to this parent wont achieve much!
There doesn't actually appear to be a function to get the 'real' Blitz3D HWND in there yet - will add one soon.
In the meantime, you could grab the Blitz3D HWND in WM_CREATE in the event handler and store it in a global somewhere, then just use SetFocus on that.
The thing is, SetBlitz3DHWND doesn't actually set the HWND used by Blitz3D - it just sets a parent HWND, and setting the focus to this parent wont achieve much!
There doesn't actually appear to be a function to get the 'real' Blitz3D HWND in there yet - will add one soon.
In the meantime, you could grab the Blitz3D HWND in WM_CREATE in the event handler and store it in a global somewhere, then just use SetFocus on that.