Syntax
Result = dbOpenDBWnd(hParentWindow, x, y, Width, Height)
Description
This command opens the DarkBasic render window with the specified parameters. When compiling with the debugger this will start the DarkBasic process and display the window. When compiling without the debugger this will display the DarkBasic window that is running suspended in the background. The window handle of the DarkBasic render window is returned as 'Result'.
'InnerWidth' and 'InnerHeight' specify the required client area (without borders and window decorations) and the resolution of the render window.
Note: Calling dbOpenDBWnd from a thread does not limit PureGDK commands to only that thread. PureGDK commands can be called from any thread but should not be called from more than one thread at a time without using a mutex to prevent collisions.
See Also