borkoles@cs.qmw.ac.uk (Borkoles) (12/13/90)
I have been assuming that I could recieve the messages corresponding to the list box message for 'user has made a selection' and 'user has double clicked a selection' for combo boxes as well. But it doesn't work. The code for list boxes says that if the long word recieved by WM_COMMAND (translated to command() message by WindowsObject) has its high word set to 2 then the user has made a selection (2 for double click and 1 for single I think). But the only messages that command() gets for combo boxes have the high word set to 3,4 and 7 (get focus, drop box etc.). What is happening, any suggestions? The combo boxes are much neater than a list box. What am I doing wrong? Is there a 'fix' for this?