Hello, I'm new here, but I've been programming for a couple of years now. Frequently I do a Google search for pieces of code that I need for programs that I write, and frequently CodeGuruForums have been helpful! So I figure I could start asking directly, since apparently the question hadn't been recently answered.

I need a way to detect the resolution of the screen that my program is running on (800x600,1024x768, etc.).

It would be all I need to complete this need little program that I'm writing: I'll post it (or email or something), if you can help me finish it.