Get Window Handle in OpenGL (and on Mac)

BlitzMax Forums/BlitzMax Programming/Get Window Handle in OpenGL (and on Mac)

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.

it has the same issues where you can take the focus away from the game

Well, indeed... because *your* window isn't always the active window :-p


Ideally, retrieving the window handle would be part of the API - why not, it's probably useful to some people.
It's actually very easy then to access a handle if you have a built-in function to get it from :-)


However, I dunno if Mark will be taking any more of my "hacks" for a while, since I've kind of flooded him with lots of them lately...

In answer to the original question:
does anyone know how to get the Window Handle of a Graphics window made in BMax..

the answer is yes, but best implementation would be to add a new Function you can call :-)