When I compile then go to debug and start without debugging the output window opens and shows what I have done. When this window opens it is not full screen. I want it full screen. I have included the dbMaximizeWindow in my code and it still won't maximize. It does maximize and then goes back to windowed real fast. Is there a way to get it to stay full screen?
Here is my code
/ whenever using Dark GDK you must ensure you include the header file
#include "DarkGDK.h"
// the main entry point for a GDK program, same as main in regular C++
void DarkGDK ( void )
{
dbSyncOn();
dbSyncRate(60);
void ScreenSetUp();
// our main loop
while ( LoopGDK ( ) )
{
ScreenSetUp();
dbSync();
}
// return back to windows
return;
}
//======================================Functions=================================================
//Screen setup function
void ScreenSetUp()
{
void dbMaximizeWindow (void);
dbSetDisplayMode(800,600,32);
dbLine( 0,350,800,350);
dbLine( 0,353,800,353);
dbLine( 500,0,500,350);
dbLine( 504,0,504,350);
dbSetTextSize(20);
dbText( 10,365,"Character Name Armor Class Hit Points Condition Spell Points Class");
dbLine (0,380,800,380);
dbLine (208,380,208,600);
dbLine (315,380,315,600);
dbLine (420,380,420,600);
dbLine (520,380,520,600);
dbLine (640,380,640,600);
}
/ whenever using Dark GDK you must ensure you include the header file
#include "DarkGDK.h"
// the main entry point for a GDK program, same as main in regular C++
void DarkGDK ( void )
{
dbSyncOn();
dbSyncRate(60);
void ScreenSetUp();
// our main loop
while ( LoopGDK ( ) )
{
ScreenSetUp();
dbSync();
}
// return back to windows
return;
}
//======================================Functions=================================================
//Screen setup function
void ScreenSetUp()
{
void dbMaximizeWindow (void);
dbSetDisplayMode(800,600,32);
dbLine( 0,350,800,350);
dbLine( 0,353,800,353);
dbLine( 500,0,500,350);
dbLine( 504,0,504,350);
dbSetTextSize(20);
dbText( 10,365,"Character Name Armor Class Hit Points Condition Spell Points Class");
dbLine (0,380,800,380);
dbLine (208,380,208,600);
dbLine (315,380,315,600);
dbLine (420,380,420,600);
dbLine (520,380,520,600);
dbLine (640,380,640,600);
}
Thanks
Dragonslayer