Finding the desktop resolution using C++

Started by
2 comments, last by Peter_APIIT 16 years ago
Hey all, I am writing an xwindows program that needs to determine the current desktop resolution. The current code compilation does include some glut but does not have gluts get resolution functions included so i need to get the information different. Please let me know if you have any ideas or know how to do this. Thanks in advance.
Advertisement
There's a basic example here (a couple paragraphs under "Getting Window Information").
Thanks. I will try that on monday when I am at work and able to run it on my linux box.
Nice tutorial.

This topic is closed to new replies.

Advertisement