Capturing 'enter' key in combo box
This is a question I probably should know the answer to, having been programming in MFC for nearly a year now, but so far I've managed to avoid it. Is there any way to capture the enter key in the edit box part of a dropdown box without setting up a message loop (so far I process messages using MFC's automatic OnBtnPress() etc.) and without subclassing the combo box. Also how do I send a message to a window to emulate a key being pressed (specifically the 'down' cursor key), and does anyone know a good reference for WM_ messages for individual keys (I've looked on google, and MSDN).
If anyone could enlighten me on any of these questions it would really help a few things I need to do, thanks.
100th post! :eek: