10-18-2007-2343hrs1sec.txt Starting SetGfxModeTest in Mode # 3 Change Res Mode 3 : Set GFX_TEXT , Use allegro_message , Set gfx mode Allegro info : Allegro 4.2.2, MinGW32 Allegro version : 4.2.2 Number of mouse buttons = 8 Setting programs initial graphics mode and resolution : Desktop Resolution is : 1024 X 768 Setting Initial Graphics Mode of 1024 X 768 in 32 bit color depth using graphics driver # 1 Starting change_res(1,1024,768,32, use_log = 1,mode = 3) This is change_res call # 1 Changing to resolution 1024 X 768 in 32 bit color depth using graphics card GFX_AUTODETECT_FULLSCREEN Success changing to new resolution Display Switch Mode can not set : SWITCH_BACKGROUND mode Display Switch Mode set to : SWITCH_BACKAMNESIA mode Set Display Switch Callback returned 0 (Success) in setting the program call in. Set Display Switch Callback returned 0 (Success) in setting the program call out. - Success changing resolution to 1024 X 768 in 32 bit color depth in graphics mode : GFX_AUTODETECT_FULLSCREEN Starting change_res(1146640206,800,600,32, use_log = 1,mode = 3) This is change_res call # 2 Changing to resolution 800 X 600 in 32 bit color depth using graphics card DXWN Success changing to new resolution Display Switch Mode set to : SWITCH_PAUSE mode Starting change_res(1146634563,480,360,32, use_log = 1,mode = 3) This is change_res call # 3 Changing to resolution 480 X 360 in 32 bit color depth using graphics card DXAC Success changing to new resolution Display Switch Mode can not set : SWITCH_BACKGROUND mode Display Switch Mode set to : SWITCH_BACKAMNESIA mode Set Display Switch Callback returned 0 (Success) in setting the program call in. Set Display Switch Callback returned 0 (Success) in setting the program call out. Starting change_res(1146640206,480,360,32, use_log = 1,mode = 3) This is change_res call # 4 Changing to resolution 480 X 360 in 32 bit color depth using graphics card DXWN Success changing to new resolution Display Switch Mode set to : SWITCH_PAUSE mode ### User comment # 1 This corresponds with change_res call # 4 User said setting this resolution was a (Failure) Here's why : When using mode 3 and changing from a fullscreen mode that is not the original desktop size to a windowed mode then when allegro_message is displayed I think the resolution is actually a window the size of the desktop. This window cannot be selected or moved though , only the popup window that allegro_message uses. When the popup is moved it leaves copies of itself wherever it was. However , once the okay button has been clicked on allegro_message it changes successfully to the new resolution window (No excess window size or weirdness either). ### End user comment ### Starting change_res(1146638166,1024,768,32, use_log = 1,mode = 3) This is change_res call # 5 Changing to resolution 1024 X 768 in 32 bit color depth using graphics card DXOV Failed to set 1024 X 768 X 32 using DXOV graphics mode Allegro reports this error : Resolution not supported Error # 3 in change res. set_gfx_mode failed Starting change_res(1146640206,480,360,32, use_log = 1,mode = 3) This is change_res call # 6 Changing to resolution 480 X 360 in 32 bit color depth using graphics card DXWN Success changing to new resolution Display Switch Mode set to : SWITCH_PAUSE mode Restored last good graphics mode after failing to change graphics mode Starting change_res(1146634563,480,360,32, use_log = 1,mode = 3) This is change_res call # 7 Changing to resolution 480 X 360 in 32 bit color depth using graphics card DXAC Success changing to new resolution Display Switch Mode can not set : SWITCH_BACKGROUND mode Display Switch Mode set to : SWITCH_BACKAMNESIA mode Set Display Switch Callback returned 0 (Success) in setting the program call in. Set Display Switch Callback returned 0 (Success) in setting the program call out. Starting change_res(1146640206,480,360,32, use_log = 1,mode = 3) This is change_res call # 8 Changing to resolution 480 X 360 in 32 bit color depth using graphics card DXWN Success changing to new resolution Display Switch Mode set to : SWITCH_PAUSE mode ### User comment # 2 This corresponds with change_res call # 8 User said setting this resolution was a (Failure) Here's why : Another note for mode 3 is this : After changing to an unsupported mode , whenever set_gfx_mode is called , there is a flash of pink on the monitor as it is being changed to the new resolution. Also , after changing to an unsupported mode and then changing from a fullscreen resolution that is not the same size as the initial desktop resolution to a windowed mode then during allegro_message there is a window that is the size of the original desktop resolution that is entirely pink except for the allegro_message popup. When moving this popup it does not leave copies of itself on the screen. After clicking okay on the button it changes to the requested windowed mode successfully. However , while writing this I have noticed the window flashing pink occasionally. ### End user comment ###