Mohammad wrote:
Can someone explain to me what a hook is?
Does it has something to do with a debugger?
Thanks
I always thought that a "hook function" was some function that the
system/library/toolkit you are working with calls for you in an event-
driven setup.
Consider a GUI toolkit: a View::mouseDown() member function gets called
by the system for you when the user clicks the mouse in some given View.
You inherit from View and implement your own mouseDown(), but you never
explicitly call it yourself. It's a "hook" into the GUI toolkit, provided
for you by the designers of the toolkit.
---J
--
--- remove zees if contacting via email ---