Re: Как обработать нажатие клавиши Enter в CComboBox?
От: VVV Россия  
Дата: 18.11.02 15:35
Оценка:
Здравствуйте, Dmitry Ulitin, Вы писали:

DU>никак не могу поймать VK_RETURN

DU>и где его ловить — в комбобоксе или его дочернем едите?

Посмотри сообщение WM_GETDLGCODE и код возврата DLGC_WANTALLKEYS — может, это именно то, что тебе надо.

MSDN

The WM_GETDLGCODE message is sent to the window procedure associated with a control. By default, the system handles all keyboard input to the control; the system interprets certain types of keyboard input as dialog box navigation keys. To override this default behavior, the control can respond to the WM_GETDLGCODE message to indicate the types of input it wants to process itself.

 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.