dbSetDisplayMode
dbSetDisplayMode
This command will set the screen display mode if it is available on the current graphics card. This command will not cause your program to fail on machines that do not support the resolution. It is recommended, however, that you check the availability of the display mode before using this command. You can use the dbCheckDisplayMode command to see whether the display mode is supported.
Syntax
void dbSetDisplayMode ( int iWidth, int iHeight, int iDepth )
Success = Determination * Mood;