Screen coordinates and mouse pointer manipulation
Each point on the screen can be assigned to a certain coordinate. If my screen has the resolution 800x600, then the point in the middle would have the coordinate (400, 300). Does that mean that there can be no further colour variation within the (400, 300) coordinate? Then our desktop and running programs would be made up of 480000 different colour fields (800*600 = 480000) when screen resolution is set to 800x600. My tests seem to point to this being true, since changing my resolution from 800x600 to 1024x768 seems to give more space for windows etc. But I am not sure about this, so my first question is: can that (400, 300) coordinate only have one colour?
My second question. Since the screen can be disassembled into coordinates, is it possible to write a program that, for example, finds the coordinate (365, 531) and then makes the mouse pointer move there automatically to click on that coordinate? I think I recognise related areas in programming. If this is possible, then what area of programming should I read up on to learn more about this?
Don't ask me why I'm asking :D. Hope I have been clear enough :). I would really appreciate your help :)
Thanks - Zewu