This command sets the arbitrary size of the window. This command does not set the display mode.
void dbSetWindowSize ( int iWidth, int iHeight )
To set the window's size to 800x600:
The window now has a visible area of 800x600 pixels. This does not change the resolution of the application, merely the size of the window. The contents will be stretched to fit the new size.