Board index » delphi » wewriting OnMessage handler
Matthew Phillips
![]() Delphi Developer |
Mon, 17 Dec 2001 03:00:00 GMT
wewriting OnMessage handler
I've modified my own OnMessage handler so I can capture a tab key. The
hWnd parameter of a TMessageEvent gives the handle of the window to which the message is going. this works fine to capture a tab key that was 'destined' for a Tedit box (it matches the Tedit box's handle), but i'm guessing, since the ComboBox is like a list box and and edit box put together there are separate handles or somethting... anyway, the handle of a specific combo box is not the value of hWnd when i type the TAB key inside the combo box. I was looking at the procedure, 'ComboWndProc' for clues, but i dont' know how this procedure is used. help and the vcl manual aren't too helpful on this. Anyone have a clue how i can capture a tab key from a ComboBox. Thanks, Matt Phillips |