Advertisement

Finding the desktop resolution using C++

Started by March 19, 2008 10:09 PM
2 comments, last by Peter_APIIT 16 years, 7 months 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.
There's a basic example here (a couple paragraphs under "Getting Window Information").
Advertisement
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