Click to See Complete Forum and Search --> : CCJToolBar


andlo
April 14th, 1999, 08:13 AM
Hi!

I have four CComboBoxes in an CCJToolBar and when the user either picks one item in the list or enters a value and hits 'Enter' I want to know which one of the Comboboxes the user used. Any ideas of how I might implement this, I tried catching IDOK and comparing the result from GetFocus() with some pointers to the comboboxes, but I only got temporary objects.

Thanks in advance

/Andreas

chris law
April 14th, 1999, 10:05 AM
How about deriving your own class from CComboBox and catching enter key

GeeThings

chrislaw