Returns the id of the game window.


GML Code Example


Returns: Pointer


With this function you can get the internal Windows id value (a pointer). This function is really only useful for extension writers who need the window handle to call Win32 API's in DLL code.

NOTE: This functions is for Windows and Mac OSX only (on Mac OSX it contains a pointer to an NSWindow class).


GML Code Example

win_id = windows_handle();

The above code will store the game window id in a variable.

No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here