I posted this question in another topic under the BMax Beginner's area, but so far haven't received a sufficient answer; so I'm gonna' post it again here:
Does anyone know how to set the Graphics width and height to that of the user's current desktop resolution in BlitzMax? In BlitzPlus/2D you could use the following statement: "Graphics GraphicsWidth(), GraphicsHeight()", but in BlitzMax, the GraphicsWidth/Heigth() functions only return '0' when called before the graphics mode is initiated.
If I have to resort to Win API calls to accomplish this, then I'm all ears; so if there is someone experienced with calling Win API functions in BMax and know the one for getting the user's current resolution; please feel free to let me know.
The goal of this is to initiate the graphics mode without suffering the delay experienced by monitors after changing resolutions.
Any help is most appreciated. Thanks!
Does anyone know how to set the Graphics width and height to that of the user's current desktop resolution in BlitzMax? In BlitzPlus/2D you could use the following statement: "Graphics GraphicsWidth(), GraphicsHeight()", but in BlitzMax, the GraphicsWidth/Heigth() functions only return '0' when called before the graphics mode is initiated.
If I have to resort to Win API calls to accomplish this, then I'm all ears; so if there is someone experienced with calling Win API functions in BMax and know the one for getting the user's current resolution; please feel free to let me know.
The goal of this is to initiate the graphics mode without suffering the delay experienced by monitors after changing resolutions.
Any help is most appreciated. Thanks!