Here is the callback:
I'm wanting to trap when a user pressed the ENTER key or the
ESC key. I know I will probably have to subclass the control,
anyone have an easy way to do this?
Thanks
------------------
-Greg
I'm wanting to trap when a user pressed the ENTER key or the
ESC key. I know I will probably have to subclass the control,
anyone have an easy way to do this?
Thanks
Code:
Callback Function CBF_FORM1_TEXT1 Select Case Cbmsg Case %WM_KEYUP MsgBox Str$(Cbwparam) If Cbwparam = 27 Then MsgBox "yo" If Cbwparam = 13 Then Beep End Select If Cbctlmsg=%EN_CHANGE Then End If If Cbctlmsg=%EN_SETFOCUS Then End If If Cbctlmsg=%EN_KILLFOCUS Then End If End Function
-Greg
Comment