Donate SIGN UP

Cursoe function

Avatar Image
emmaareitch | 10:34 Wed 18th Dec 2002 | How it Works
2 Answers
What does the cursor arrow actually do when a particular part of the screen is clicked on? That is, inside the circuitry, etc?
Gravatar

Answers

1 to 2 of 2rss feed

Best Answer

No best answer has yet been selected by emmaareitch. Once a best answer has been selected, it will be shown here.

For more on marking an answer as the "Best Answer", please visit our FAQ.
If you are talking about an on-screen mouse pointer (usually an arrow of some sort) then this is a simplistic explanation

Everything you see on the screen is output from the computer - the mouse pointer is displayed by the computer interpreting input from the mouse in terms of X and Y co-ordinates.
The screen is composed of a very fine grid of dots called pixels, the co-ordinates of which are known by the computer.
When you move the mouse, the computer calculates the equivalent move in pixels and re-displays the mouse pointer in the new position.
When the you click on the mouse button, the computer knows where the pointer is and knows what pixels are beneath the pointer, depending upon what the pixels underneath the mouse are designed to represent, different actions will be performed by the computer.
For example ' if the pixels at certain co-ordinates represent a 'Send' button for an email program, the computer will know to perform the 'send' action.

I hope that is comprehensible!
And collision detection; in the same way the bat knew it had hit the ball back in the days of Pong. But very succinctly put rekstout. - So how do the search engines read millions of pages in a couple of seconds? especially the ones that read content within the pages?

1 to 2 of 2rss feed

Do you know the answer?

Cursoe function

Answer Question >>

Related Questions

Sorry, we can't find any related questions. Try using the search bar at the top of the page to search for some keywords, or choose a topic and submit your own question.