SetBlitz3DEventCallback and SetBlitz3DHWND Bug

Blitz3D SDK Forums/Blitz3D SDK Bug Reports/SetBlitz3DEventCallback and SetBlitz3DHWND Bug

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,

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.