I have a few other problems im curious about which are all to do with asthetics basically.
a) windowed mode in different resolutions, how can I center it? the big resolutions like 1024x768 go right off the screen until i manually move the window myself - i seem to recall some command or the other for positioning the window but to use it properly i would need to know the desktop width and height that the user was using. Not sure how to get those :/
b) Is there any way i can make alt-tabbing full screen applications safe? atm if you minimise a full screen darksdk program and then come back more often than not it blows up and sometimes causes a lock up where there is a message box you cant get at. This is a bit off but im guessing there is probably some way around it? I notice a command to check if the screen is invalid - is the problem something like when you minimise it keeps trying to execute anyway but its drawing to an invalid surface and thus the boom? should I encase ALL code in my program in an if checking if the screen is invalid?
I have some more.. but i think that will do for now ^^
Thanks for any advice.