[comp.windows.x] Weenie of the week award...

dsseewe@SUPER.ORG (Daniel Seewer) (05/25/90)

I am reposting this question because I embarassingly gave a 
bogus email address at the bottom.  Sorry aout that!  Time
for me to wake-up and smell the coffee:

****************************************************************
Here is a question I have that I know has been asked before, but
can't seem to find amongst my many saved files of xpert Q/A.

My task is to bind the event of a return key in several widgets
to the action of pressing a button in a command widget.
This was no problem using Accelerators.  I also have a list
widget that I would like to have a double-click cause the same action
to take place.  Now I am confussed.  I want only the double-click
in the list widget to cause this action (not double-clicks anywhere).
What I previously have is double-clicks anywhere cause the action
to fire off.

So I was wondering if someone would like to step forward and explain
Accelerators to me in English.  Yes I have read the DOCUMENTATION
and it just isn't sinking in.  Or just point me to an example
and I will try that route.  Describing the steps needed in setting
up the previous paragraph would be great.

If more detail is needed then let me know and I will send a sample
of how I am doing it.  But we could just pretend I don't have any
code working and work from the explaination view.

		Many Thanks,

		Dan Seewer
		(dsseewe@super.org)