Is it possible to determine (ignoring multiple monitors - the program will only use the primary one) the type of the monitor - i.e. whether it is an old-school CRT (and can thus change to virtually any resolution without impacting performance) or a new-school LCD (which has only one native resolution, and performs best at that resolution)?
The reason I ask is because I'm writing a game, and I'd prefer to be able to handle CRTs and LCDs differently. If this is not possible, I can use the more restrictive LCD method with CRTs too - this should work perfectly assuming the CRT supports the resolution in question.
Additionally, is it possible to determine an LCD's native resolution programatically? If it is, I can optimize game performance by switching to that resolution, unless the LCD is already in that resolution, in which case I don't have to do anything.
Finally, I'm trying to make the game as flexible as possible regarding resolutions - this is done to make it play optimally on all systems it is run on. That's the biggest reason for this thread existing.
The reason I ask is because I'm writing a game, and I'd prefer to be able to handle CRTs and LCDs differently. If this is not possible, I can use the more restrictive LCD method with CRTs too - this should work perfectly assuming the CRT supports the resolution in question.
Additionally, is it possible to determine an LCD's native resolution programatically? If it is, I can optimize game performance by switching to that resolution, unless the LCD is already in that resolution, in which case I don't have to do anything.
Finally, I'm trying to make the game as flexible as possible regarding resolutions - this is done to make it play optimally on all systems it is run on. That's the biggest reason for this thread existing.