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,

I'm not sure what's happening, but it looks like the Blitz3D window isn't receiving input focus.

The apps above are in control of the event loop (Application.DoEvents()?) so b3d is the last one to see any events - ie: it's not 'higher up' or anything, and the internal b3d event handler just passes on events to the SetBlitz3DEventCallback handler - and if that's not receiving any keyboard events, then the b3d window probably doesn't have input focus.


Try calling SetFocus on the appropriate hwnd when you get a mouse down event.


Has someone tried this with the HWND passed to the event handler - ie: NOT the HWND passed to SetBlitz3DHWND?