Hi All,
I'm dying to use WinBlitz3D for some editor I'm building - using windows controls & gadgets with a blitz 3d viewport..
But since the latest release Kevin uses the 'apiGetMessage()' inside the main WaitEvent() function to WAIT for an event to happen (mouse, keyboard, button click) as opposed to the 'apiPeekMessage()' that he used in previous (more limited) versions.
Here comes the BUT:
apiGetMessage() FREEZES the entire program until it receives some event (ie. a mouse move, button click, key press, etc).
apiPeekMessage() doesn't freeze and so keeps my 3d blitz window alive and happy (refreshing every frame), but it doesn't catch any mouse or keyboard events; making my 3d environment impossible to 'control' by mouse or keyboard :(
I am in seriously unfamiliar terriotory here, and have been hacking at it for more than 3 weeks now (between the soup and the potatoes).
Does anyone (kevin?) have any idea's or tips to share to resolve this? Anything appreciated!!!!
cheers,
Danny.
I'm dying to use WinBlitz3D for some editor I'm building - using windows controls & gadgets with a blitz 3d viewport..
But since the latest release Kevin uses the 'apiGetMessage()' inside the main WaitEvent() function to WAIT for an event to happen (mouse, keyboard, button click) as opposed to the 'apiPeekMessage()' that he used in previous (more limited) versions.
Here comes the BUT:
apiGetMessage() FREEZES the entire program until it receives some event (ie. a mouse move, button click, key press, etc).
apiPeekMessage() doesn't freeze and so keeps my 3d blitz window alive and happy (refreshing every frame), but it doesn't catch any mouse or keyboard events; making my 3d environment impossible to 'control' by mouse or keyboard :(
I am in seriously unfamiliar terriotory here, and have been hacking at it for more than 3 weeks now (between the soup and the potatoes).
Does anyone (kevin?) have any idea's or tips to share to resolve this? Anything appreciated!!!!
cheers,
Danny.