Event handlers and mapping?

Subject: Event handlers and mapping?
From: "Geoff Hart" <Geoff-h -at- mtl -dot- feric -dot- ca>
To: TECHWR-L -at- lists -dot- raycomm -dot- com
Date: Fri, 24 Sep 1999 09:13:37 -0400

Johnny Brown wondered <<...what an "event handler" is and
I don't know what mapping is.>>

An event handler is the software routine that handles events!
<g> That is, a typical event handler might be something like
"if the mouse passes over the File menu [the event], call the
routine that displays the list of choices under that menu" or
"with the File menu open, figure out where the mouse is
when the user clicks the button and run the part of the
software that handles that choice".

To define "mapping", I'd need more context. Typical maps
include such things as "the A key on the keyboard is stored as
the following binary [1s and 0s] or hexadecimal number:...
The B key on the keyboard is..." or "the file name Normal.dot
represents the information stored on the hard disk at the
following address:..."

--Geoff Hart @8^{)} geoff-h -at- mtl -dot- feric -dot- ca (Pointe-Claire, Quebec)
"Perhaps there is something deep and profound behind all those sevens, something just calling out for us to discover it. But I
that it is only a pernicious, Pythagorean coincidence." George Miller, "The Magical Number Seven" (1956)

Previous by Author: Repeating figures?
Next by Author: Information developer?
Previous by Thread: Re: Standards for dimensions of printed books
Next by Thread: Thanks again

What this post helpful? Share it with friends and colleagues:

Sponsored Ads