Im working on a program called mouse odometer, which will find how much you move your mouse (like in meters or kilometers or whatever) and its going to find how many pixels your mouse moves and then multiply that by whatever number to get distance, but since the resolution and moniter size determine size of pixels, I need a function to find the resolution that is being run. Can someone tell me a function to do this? Thanks