FANDOM


This command sets the arbitrary size of the window. This command does not set the display mode.

SyntaxEdit

void dbSetWindowSize ( int iWidth, int iHeight )

UsageEdit

To set the window's size to 800x600:

dbSetWindowSize(800,600);

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.

See AlsoEdit

dbSetDisplayMode
dbSetWindowTitle
dbSetWindowLayout
dbSetWindowPosition

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.