Suggest new callback routines with user-supplied argument
The mouse and trackbar callback routines are easy to use and very
useful. But it would really be nice to add another way to set up a
callback that would pass a user-supplied argument pointer to the
callback routine. This would make it possible to pass a pointer to a
parameter block which could contain pointers to objects and other
items. This would eliminate the use of ugly global variables.